Externalizing Gradle
This commit is contained in:
parent
9aa4375cb6
commit
b0a819aa60
2 changed files with 19 additions and 12 deletions
24
build.gradle
24
build.gradle
|
|
@ -14,33 +14,33 @@ apply plugin: 'net.minecraftforge.gradle.forge'
|
|||
|
||||
repositories {
|
||||
maven {
|
||||
url "http://dvs1.progwml6.com/files/maven"
|
||||
url = "http://dvs1.progwml6.com/files/maven"
|
||||
}
|
||||
}
|
||||
|
||||
version = "1.0.4"
|
||||
version = mod_version
|
||||
group= "com.oitsjustjose.tinkers_addons"
|
||||
archivesBaseName = "Tinkers' Addons-1.10.x"
|
||||
|
||||
minecraft {
|
||||
version = "1.10.2-12.18.2.2125"
|
||||
version = "${minecraft_version}-${forge_version}"
|
||||
|
||||
if (file('../run').exists()){
|
||||
runDir = "../run"
|
||||
} else {
|
||||
runDir = "run"
|
||||
}
|
||||
}
|
||||
useDepAts = true
|
||||
replaceIn "lib/Lib.java"
|
||||
replace "@VERSION@", project.version
|
||||
|
||||
replaceIn "lib/Lib.java"
|
||||
replace "@VERSION@", mod_version
|
||||
|
||||
mappings = "snapshot_20160518"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
deobfCompile "mezz.jei:jei_1.10.2:3.7.5.227"
|
||||
deobfCompile "slimeknights.mantle:Mantle:1.10-0.10.3.jenkins158"
|
||||
deobfCompile "slimeknights:TConstruct:1.10-2.3.3a.jenkins289"
|
||||
deobfCompile "mezz.jei:jei_${minecraft_version}:${jei_version}"
|
||||
deobfCompile "slimeknights.mantle:Mantle:1.10-${mantle_version}"
|
||||
deobfCompile "slimeknights:TConstruct:1.10-${ticon_version}"
|
||||
}
|
||||
|
||||
task deobfJar(type: Jar) {
|
||||
|
|
@ -63,8 +63,8 @@ processResources
|
|||
include 'mcmod.info'
|
||||
expand 'version':project.version, 'mcversion':project.minecraft.version
|
||||
}
|
||||
|
||||
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'mcmod.info'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
7
gradle.properties
Normal file
7
gradle.properties
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
mod_version=1.0.4
|
||||
minecraft_version=1.10.2
|
||||
forge_version=12.18.2.2125
|
||||
|
||||
jei_version=3.14.7.416
|
||||
mantle_version=0.10.3.jenkins158
|
||||
ticon_version=2.3.3a.jenkins289
|
||||
Loading…
Reference in a new issue