mirror of
https://github.com/chylex/Better-Controls.git
synced 2025-05-11 01:34:04 +02:00
29 lines
504 B
Plaintext
29 lines
504 B
Plaintext
val neoForgeVersion: String by project
|
|
|
|
plugins {
|
|
id("net.neoforged.gradle.userdev")
|
|
id("net.neoforged.gradle.mixin")
|
|
}
|
|
|
|
dependencies {
|
|
implementation("net.neoforged:neoforge:$neoForgeVersion")
|
|
}
|
|
|
|
runs {
|
|
val runJvmArgs: Set<String> by project
|
|
|
|
configureEach {
|
|
workingDirectory = file("../run")
|
|
modSource(project.sourceSets.main.get())
|
|
jvmArguments(runJvmArgs)
|
|
}
|
|
|
|
create("client")
|
|
}
|
|
|
|
tasks.processResources {
|
|
filesMatching("META-INF/neoforge.mods.toml") {
|
|
expand(inputs.properties)
|
|
}
|
|
}
|