39 lines
898 B
Groovy
39 lines
898 B
Groovy
plugins {
|
|
id 'java'
|
|
id "com.github.johnrengelman.shadow" version "5.2.0"
|
|
}
|
|
|
|
group 'ley.modding'
|
|
version '1.0'
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
url "https://libraries.minecraft.net"
|
|
name "minecraft"
|
|
}
|
|
maven {
|
|
url "https://data.tilera.xyz/maven/"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "ley.anvil:addonscript:1.0-SNAPSHOT"
|
|
implementation group: 'net.lingala.zip4j', name: 'zip4j', version: '2.8.0'
|
|
compileOnly group: 'com.google.code.gson', name: 'gson', version: '2.8.7'
|
|
compileOnly group: "net.minecraft", name: "launchwrapper", version: "1.12"
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes([
|
|
"TweakClass": "ley.modding.tcu.UpdateTweaker",
|
|
"TweakOrder": -100000,
|
|
])
|
|
}
|
|
}
|
|
|
|
build.dependsOn shadowJar
|