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