ModTweaker/build.gradle

58 lines
1.3 KiB
Groovy
Raw Normal View History

2015-01-11 20:59:45 +01:00
buildscript {
repositories {
2016-02-27 13:21:27 +01:00
jcenter()
2017-05-28 02:04:21 +02:00
maven { url = "http://files.minecraftforge.net/maven" }
2015-01-11 20:59:45 +01:00
}
dependencies {
2016-07-09 22:30:50 +02:00
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
2015-01-11 20:59:45 +01:00
}
}
2016-02-27 13:21:27 +01:00
apply plugin: 'net.minecraftforge.gradle.forge'
2015-01-11 20:59:45 +01:00
2017-05-28 02:04:21 +02:00
version = "1.0.0"
group = "com.blamejared.modtweaker"
archivesBaseName = "modtweaker"
2015-01-11 20:59:45 +01:00
2017-05-28 02:04:21 +02:00
sourceCompatibility = targetCompatibility = "1.8"
2016-09-17 01:43:26 +02:00
compileJava {
sourceCompatibility = targetCompatibility = "1.8"
}
2017-05-28 02:04:21 +02:00
minecraft {
version = "1.11.2-13.20.0.2309"
runDir = "run"
mappings = "snapshot_20161220"
useDepAts = true
}
repositories {
2017-05-28 02:04:21 +02:00
maven {
url "http://dvs1.progwml6.com/files/maven"
}
maven {
url "http://maven.blamejared.com"
}
}
dependencies {
2017-05-28 02:04:21 +02:00
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.2"
2016-07-09 22:30:50 +02:00
}
2017-05-28 02:04:21 +02:00
processResources {
inputs.property "version", project.version
2017-05-28 02:04:21 +02:00
inputs.property "mcversion", project.minecraft.version
2016-02-27 13:21:27 +01:00
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
2017-05-28 02:04:21 +02:00
expand 'version': project.version, 'mcversion': project.minecraft.version
}
2017-01-05 00:09:10 +01:00
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}