aboutsummaryrefslogtreecommitdiff
path: root/project.gradle
diff options
context:
space:
mode:
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