1
0
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:
chylex 2024-07-02 18:06:45 +02:00
parent 73a6571f20
commit 2da9a54f2f
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548

View File

@ -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