diff options
author | FalsePattern <me@falsepattern.com> | 2023-11-22 16:03:56 +0100 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2023-11-25 18:56:10 +0100 |
commit | fc1f6948de798220b63e995c82fcf7717f66b344 (patch) | |
tree | 13518b2a9e0b5191837061659fd8f4a3209630b0 /project.gradle | |
parent | 37e900eb5a37339f2e974ee2508180f042643fe4 (diff) | |
download | Neodymium-fc1f6948de798220b63e995c82fcf7717f66b344.tar.gz Neodymium-fc1f6948de798220b63e995c82fcf7717f66b344.tar.bz2 Neodymium-fc1f6948de798220b63e995c82fcf7717f66b344.zip |
fix runClient
Diffstat (limited to 'project.gradle')
-rw-r--r-- | project.gradle | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/project.gradle b/project.gradle index 59e2018..79d43ce 100644 --- a/project.gradle +++ b/project.gradle @@ -1,3 +1,5 @@ +import java.nio.file.Paths + jar { manifest { attributes ( @@ -5,6 +7,7 @@ jar { 'FMLAT': "neodymium_at.cfg" ) } + exclude("META-INF/**.RSA") } repositories { @@ -17,5 +20,19 @@ dependencies { compileOnly("com.falsepattern:triangulator-mc1.7.10:1.7.0:api") } +runClient { + def arguments = [] + + arguments += [ + "--mods=" + Paths.get("$projectDir").resolve(minecraft.runDir).normalize().relativize(Paths.get("$projectDir/build/libs/$archivesBaseName-${version}.jar")) + ] + + arguments += [ + "--tweakClass", "org.spongepowered.asm.launch.MixinTweaker" + ] + + args(arguments) +} + apply from: "makalibs.gradle"
\ No newline at end of file |