aboutsummaryrefslogtreecommitdiff
path: root/tweaker/build.gradle
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-07-12 18:23:37 +0200
committerLinnea Gräf <nea@nea.moe>2024-07-12 18:23:37 +0200
commit6671846319d1fcc5b8b999a77f297b098763535d (patch)
tree217b1b73dd610fe1ffb948bf47d3690cae78964a /tweaker/build.gradle
parent3a60715b57d9af5ad63d20465504214979a7c85d (diff)
downloadHyPixelForgeModAPI-6671846319d1fcc5b8b999a77f297b098763535d.tar.gz
HyPixelForgeModAPI-6671846319d1fcc5b8b999a77f297b098763535d.tar.bz2
HyPixelForgeModAPI-6671846319d1fcc5b8b999a77f297b098763535d.zip
Add tweaker loaderHEADmaster
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)
+}