2015-10-07 00:42:46 +02:00
|
|
|
apply plugin: 'net.minecraftforge.gradle.tweaker-client'
|
2015-08-02 00:36:33 +02:00
|
|
|
|
2015-11-17 06:09:04 +01:00
|
|
|
archivesBaseName = "voxelcommon"
|
|
|
|
version = "2.4.0"
|
2015-08-02 00:36:33 +02:00
|
|
|
|
|
|
|
minecraft {
|
|
|
|
version = "1.8"
|
2015-11-17 06:09:04 +01:00
|
|
|
mappings = 'snapshot_20151027'
|
|
|
|
runDir = '../run'
|
2015-10-07 00:42:46 +02:00
|
|
|
tweakClass = 'com.mumfrey.liteloader.launch.LiteLoaderTweaker'
|
|
|
|
}
|
|
|
|
repositories.flatDir {
|
2015-11-17 06:09:04 +01:00
|
|
|
dir '../liteloader'
|
2015-10-07 00:42:46 +02:00
|
|
|
}
|
|
|
|
dependencies {
|
2015-11-17 06:09:04 +01:00
|
|
|
deobfCompile 'com.mumfrey:liteloader:1.8-SNAPSHOT:srgnames'
|
2015-08-02 00:36:33 +02:00
|
|
|
}
|
2015-12-08 22:53:08 +01:00
|
|
|
jar {
|
|
|
|
manifest.attributes.remove 'TweakClass'
|
|
|
|
classifier 'dev'
|
|
|
|
}
|
|
|
|
task obfJar(type:Jar) {
|
|
|
|
from sourceSets.main.output
|
|
|
|
}
|
|
|
|
reobf {
|
|
|
|
jar.task.enabled = false
|
|
|
|
obfJar {}
|
|
|
|
}
|