aboutsummaryrefslogtreecommitdiff
path: root/tweaker/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'tweaker/build.gradle')
-rw-r--r--tweaker/build.gradle26
1 files changed, 26 insertions, 0 deletions
diff --git a/tweaker/build.gradle b/tweaker/build.gradle
new file mode 100644
index 0000000..e8eada8
--- /dev/null
+++ b/tweaker/build.gradle
@@ -0,0 +1,26 @@
+apply plugin: 'net.minecraftforge.gradle.forge'
+
+minecraft {
+ version = "1.8.9-11.15.1.1722"
+// version = "1.8.9-11.15.1.2318-1.8.9"
+ runDir = "run"
+
+ mappings = "stable_22"
+}
+
+sourceCompatibility = 1.8
+targetCompatibility = 1.8
+
+task generateVersionInfo(type: WriteProperties) {
+ outputFile(file(new File(buildDir, "/properties/hypixel-mod-api-bundled.properties")))
+ property("version", version)
+}
+
+tasks.jar {
+ dependsOn(project(":").reobfJar)
+ from(project(":").jar)
+ from(generateVersionInfo)
+ manifest {
+ attributes("TweakClass": "net.hypixel.modapi.tweaker.HypixelModAPITweaker")
+ }
+}