mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-12 16:27:40 +00:00
26 lines
561 B
Groovy
26 lines
561 B
Groovy
import minetweaker.tasks.RegisterZenClassesTask;
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'maven'
|
|
|
|
version = ext.mineTweakerVersion
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
task makeRegistry(type: RegisterZenClassesTask) {
|
|
inputDir = file('build/classes/main')
|
|
outputDir = file('build/classes/main')
|
|
className = 'minetweaker.ClassRegistry'
|
|
}
|
|
|
|
tasks.jar.dependsOn(makeRegistry)
|
|
|
|
dependencies {
|
|
dependencies {
|
|
compile project(':ZenScript')
|
|
}
|
|
}
|