97 lines
2.4 KiB
Groovy
97 lines
2.4 KiB
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
maven { url = "http://files.minecraftforge.net/maven" }
|
|
}
|
|
dependencies {
|
|
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
|
|
}
|
|
}
|
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
|
|
|
version = "4.0.5"
|
|
group = "com.blamejared.modtweaker"
|
|
archivesBaseName = "modtweaker"
|
|
|
|
sourceCompatibility = targetCompatibility = "1.8"
|
|
compileJava {
|
|
sourceCompatibility = targetCompatibility = "1.8"
|
|
}
|
|
|
|
minecraft {
|
|
version = "1.12.2-14.23.0.2551"
|
|
runDir = "run"
|
|
mappings = "snapshot_20171003"
|
|
useDepAts = true
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
url "http://dvs1.progwml6.com/files/maven"
|
|
}
|
|
maven {
|
|
url "http://maven.blamejared.com"
|
|
}
|
|
maven {
|
|
url "http://maven.covers1624.net/"
|
|
}
|
|
maven {
|
|
url "http://chickenbones.net/maven/"
|
|
}
|
|
maven {
|
|
url "http://www.ryanliptak.com/maven/"
|
|
}
|
|
maven {
|
|
url "https://maven.chaosfield.at/"
|
|
}
|
|
maven {
|
|
url = "http://maven.ic2.player.to/"
|
|
}
|
|
maven {
|
|
url "http://maven.tterrag.com"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
deobfCompile "CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.0.10.+"
|
|
deobfCompile "CraftTweaker2:CraftTweaker2-API:4.0.10.+"
|
|
deobfCompile "CraftTweaker2:ZenScript:4.0.10.+"
|
|
deobfCompile "mezz.jei:jei_1.12.2:4.8.0.+"
|
|
deobfCompile "com.blamejared:MTLib:3.0.+"
|
|
|
|
deobfCompile("cofh:ThermalExpansion:1.12-5.3.+:deobf") {
|
|
exclude group: 'mezz.jei'
|
|
}
|
|
deobfCompile("betterwithmods:BetterWithMods:1.12-2.0.15-210:dev") {
|
|
exclude group: 'mezz.jei'
|
|
}
|
|
deobfCompile("de.ellpeck.actuallyadditions:ActuallyAdditions:1.12.1-r121") {
|
|
exclude group: 'mezz.jei'
|
|
}
|
|
deobfCompile("slimeknights.mantle:Mantle:1.12-1.3.1.+") {
|
|
exclude group: 'mezz.jei'
|
|
}
|
|
deobfCompile("slimeknights:TConstruct:1.12-2.7.4.36") {
|
|
exclude group: 'mezz.jei'
|
|
}
|
|
deobfCompile('net.sengir.forestry:forestry_1.12.2:5.+') {
|
|
exclude group: 'mezz.jei'
|
|
}
|
|
|
|
deobfCompile "team.chisel.ctm:CTM:MC1.12-0.2.3.9"
|
|
}
|
|
|
|
processResources {
|
|
inputs.property "version", project.version
|
|
inputs.property "mcversion", project.minecraft.version
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
include 'mcmod.info'
|
|
|
|
expand 'version': project.version, 'mcversion': project.minecraft.version
|
|
}
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
exclude 'mcmod.info'
|
|
}
|
|
}
|