63 lines
1.4 KiB
Groovy
63 lines
1.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.0"
|
|
group = "com.blamejared.modtweaker"
|
|
archivesBaseName = "modtweaker"
|
|
|
|
sourceCompatibility = targetCompatibility = "1.8"
|
|
compileJava {
|
|
sourceCompatibility = targetCompatibility = "1.8"
|
|
}
|
|
|
|
minecraft {
|
|
version = "1.12-14.21.1.2415"
|
|
runDir = "run"
|
|
mappings = "snapshot_20170624"
|
|
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/"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
deobfCompile "mezz.jei:jei_1.12:4.7.2.76"
|
|
deobfCompile "com.blamejared:MTLib:3.0.0.1"
|
|
deobfCompile "cofh:ThermalExpansion:1.12-5.3.3.13:deobf"
|
|
}
|
|
|
|
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'
|
|
}
|
|
}
|