aboutsummaryrefslogtreecommitdiff
path: root/project.gradle
diff options
context:
space:
mode:
authorFalsePattern <me@falsepattern.com>2023-11-22 16:03:56 +0100
committermakamys <makamys@outlook.com>2023-11-25 18:56:10 +0100
commitfc1f6948de798220b63e995c82fcf7717f66b344 (patch)
tree13518b2a9e0b5191837061659fd8f4a3209630b0 /project.gradle
parent37e900eb5a37339f2e974ee2508180f042643fe4 (diff)
downloadNeodymium-fc1f6948de798220b63e995c82fcf7717f66b344.tar.gz
Neodymium-fc1f6948de798220b63e995c82fcf7717f66b344.tar.bz2
Neodymium-fc1f6948de798220b63e995c82fcf7717f66b344.zip
fix runClient
Diffstat (limited to 'project.gradle')
-rw-r--r--project.gradle17
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