57 lines
1.3 KiB
Groovy
57 lines
1.3 KiB
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
maven { url = "http://files.minecraftforge.net/maven" }
|
|
}
|
|
dependencies {
|
|
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
|
|
}
|
|
}
|
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
|
|
|
version = "2.0.0"
|
|
group = "com.blamejared.modtweaker"
|
|
archivesBaseName = "modtweaker"
|
|
|
|
sourceCompatibility = targetCompatibility = "1.8"
|
|
compileJava {
|
|
sourceCompatibility = targetCompatibility = "1.8"
|
|
}
|
|
|
|
minecraft {
|
|
version = "1.11.2-13.20.0.2309"
|
|
runDir = "run"
|
|
mappings = "snapshot_20161220"
|
|
useDepAts = true
|
|
}
|
|
|
|
repositories {
|
|
maven {
|
|
url "http://dvs1.progwml6.com/files/maven"
|
|
}
|
|
|
|
maven {
|
|
url "http://maven.blamejared.com"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
deobfCompile "mezz.jei:jei_1.11.2:4.3.6.280"
|
|
// deobfCompile "MineTweaker3:MineTweaker3-MC1112-Main:1.11.2-3.0.25.99"
|
|
deobfCompile "com.blamejared:MTLib:2.0.2.3"
|
|
}
|
|
|
|
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'
|
|
}
|
|
}
|