mirror of
https://github.com/chylex/Better-Controls.git
synced 2025-04-29 20:34:04 +02:00
Remove runs from the root project
This commit is contained in:
parent
73a6571f20
commit
2da9a54f2f
@ -50,6 +50,16 @@ base {
|
|||||||
archivesName.set("$modNameStripped-Common")
|
archivesName.set("$modNameStripped-Common")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
loom {
|
||||||
|
runs {
|
||||||
|
named("client") {
|
||||||
|
ideConfigGenerated(false)
|
||||||
|
}
|
||||||
|
|
||||||
|
findByName("server")?.let(::remove)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
minecraft("com.mojang:minecraft:$minecraftVersion")
|
minecraft("com.mojang:minecraft:$minecraftVersion")
|
||||||
mappings(loom.officialMojangMappings())
|
mappings(loom.officialMojangMappings())
|
||||||
@ -141,25 +151,6 @@ subprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
loom {
|
|
||||||
runs {
|
|
||||||
val runJvmArgs: Set<String> by project
|
|
||||||
|
|
||||||
configureEach {
|
|
||||||
runDir("../run")
|
|
||||||
vmArgs(runJvmArgs)
|
|
||||||
ideConfigGenerated(true)
|
|
||||||
}
|
|
||||||
|
|
||||||
named("client") {
|
|
||||||
configName = "Vanilla Client"
|
|
||||||
client()
|
|
||||||
}
|
|
||||||
|
|
||||||
findByName("server")?.let(::remove)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
val copyJars = tasks.register<Copy>("copyJars") {
|
val copyJars = tasks.register<Copy>("copyJars") {
|
||||||
group = "build"
|
group = "build"
|
||||||
duplicatesStrategy = EXCLUDE
|
duplicatesStrategy = EXCLUDE
|
||||||
|
Loading…
Reference in New Issue
Block a user