2015-10-07 00:42:46 +02:00
|
|
|
plugins {
|
|
|
|
id 'net.minecraftforge.gradle.tweaker-client' version '2.0.1'
|
2015-08-02 00:36:33 +02:00
|
|
|
}
|
|
|
|
evaluationDependsOnChildren()
|
|
|
|
|
|
|
|
archivesBaseName = "mod_minelp"
|
|
|
|
version = "1.8-UNOFFICIAL_mc1.8"
|
|
|
|
|
|
|
|
minecraft {
|
|
|
|
version = "1.8"
|
|
|
|
mappings = 'snapshot_20150606'
|
2015-10-07 00:42:46 +02:00
|
|
|
tweakClass = 'com.mumfrey.liteloader.launch.LiteLoaderTweaker'
|
|
|
|
runDir = 'run'
|
2015-08-02 00:36:33 +02:00
|
|
|
// fix reobf issues
|
2015-10-07 00:42:46 +02:00
|
|
|
// srgExtra "FD: com/voxelmodpack/common/properties/gui/GuiVoxelBoxSettingsPanel/zLevel bub/e"
|
|
|
|
// srgExtra "FD: com/voxelmodpack/common/gui/GuiControl/zLevel bub/e"
|
|
|
|
// srgExtra "FD: com/voxelmodpack/common/gui/GuiScreenEx/zLevel bub/e"
|
2015-08-02 00:36:33 +02:00
|
|
|
}
|
2015-10-07 00:42:46 +02:00
|
|
|
|
|
|
|
repositories.flatDir {
|
|
|
|
dir 'voxellib/liteloader'
|
2015-08-02 00:36:33 +02:00
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
compile project(':voxellib')
|
|
|
|
}
|
|
|
|
jar {
|
|
|
|
extension 'litemod'
|
2015-10-07 00:42:46 +02:00
|
|
|
manifest.attributes.remove 'TweakClass'
|
2015-08-02 00:36:33 +02:00
|
|
|
}
|
2015-10-07 00:42:46 +02:00
|
|
|
task standaloneJar(type:Jar, dependsOn: [reobfJar, project(':voxellib').reobfJar]) {
|
2015-08-02 00:36:33 +02:00
|
|
|
extension "litemod"
|
|
|
|
from zipTree(jar.archivePath)
|
|
|
|
from project(':voxellib').jar.archivePath
|
|
|
|
classifier 'standalone'
|
|
|
|
}
|
|
|
|
artifacts {
|
|
|
|
archives standaloneJar
|
|
|
|
}
|