aboutsummaryrefslogtreecommitdiff
path: root/tweaker/build.gradle
blob: e8eada8dd5dccc136986efb8c2a090a3135f3f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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")
    }
}