aboutsummaryrefslogtreecommitdiff
path: root/tweaker/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'tweaker/build.gradle')
-rw-r--r--tweaker/build.gradle22
1 files changed, 22 insertions, 0 deletions
diff --git a/tweaker/build.gradle b/tweaker/build.gradle
new file mode 100644
index 0000000..8962b17
--- /dev/null
+++ b/tweaker/build.gradle
@@ -0,0 +1,22 @@
+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 {
+ from(project(":").jar)
+ from(generateVersionInfo)
+}