ModTweaker/build.gradle

68 lines
1.5 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 {
2017-07-20 19:22:40 +02:00
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-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-07-20 19:22:40 +02:00
version = "4.0.0"
2017-05-28 02:04:21 +02:00
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 {
2017-07-20 19:22:40 +02:00
version = "1.12-14.21.1.2415"
2017-05-28 02:04:21 +02:00
runDir = "run"
2017-07-20 19:22:40 +02:00
mappings = "snapshot_20170624"
2017-05-28 02:04:21 +02:00
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"
}
2017-07-20 19:22:40 +02:00
maven {
url "http://maven.covers1624.net/"
}
maven {
url "http://chickenbones.net/maven/"
}
maven {
url "http://www.ryanliptak.com/maven/"
}
}
dependencies {
2017-07-20 19:22:40 +02:00
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.15:deobf"
deobfCompile "betterwithmods:BetterWithMods:1.12-1.3.7-14"
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'
}
}