Fabric‐Loom - covers1624/DevLogin GitHub Wiki
Step 1: Add maven repository:
groovy (build.gradle)
repositories {
maven { url 'https://maven.covers1624.net/' }
}
kotlin (build.gradle.kts)
repositories {
maven("https://maven.covers1624.net/")
}
Step 2: Add runtime dependency:
groovy (build.gradle)
dependencies {
localRuntime 'net.covers1624:DevLogin:0.1.0.5'
}
kotlin (build.gradle.kts)
dependencies {
localRuntime("net.covers1624:DevLogin:0.1.0.5")
}
Step 3: Add run configuration:
groovy (build.gradle)
loom {
runs {
clientLogin {
client()
ideConfigGenerated true
programArgs '--launch_target', 'net.fabricmc.loader.impl.launch.knot.KnotClient'
mainClass.set 'net.covers1624.devlogin.DevLogin'
}
}
}
kotlin (build.gradle.kts)
loom {
runs {
clientLogin {
client()
ideConfigGenerated = true
programArgs.addAll("--launch_target", "net.fabricmc.loader.impl.launch.knot.KnotClient")
mainClass.set("net.covers1624.devlogin.DevLogin")
}
}
}