2018-10-13 20:35:18 +02:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
maven { url = "http://files.minecraftforge.net/maven" }
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-15 18:36:46 +02:00
|
|
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
|
|
|
apply plugin: 'maven'
|
2018-10-13 20:35:18 +02:00
|
|
|
|
2018-10-26 02:56:38 +02:00
|
|
|
version = "a1"
|
2018-10-15 18:36:46 +02:00
|
|
|
group = "de.ellpeck.naturesaura"
|
2018-11-02 13:27:39 +01:00
|
|
|
archivesBaseName = "NaturesAura"
|
2018-10-13 20:35:18 +02:00
|
|
|
|
2018-10-15 18:36:46 +02:00
|
|
|
sourceCompatibility = targetCompatibility = '1.8'
|
2018-10-13 20:35:18 +02:00
|
|
|
compileJava {
|
|
|
|
sourceCompatibility = targetCompatibility = '1.8'
|
|
|
|
}
|
|
|
|
|
2018-10-15 18:36:46 +02:00
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
url "http://dvs1.progwml6.com/files/maven"
|
|
|
|
}
|
2018-10-19 14:35:25 +02:00
|
|
|
maven {
|
|
|
|
url = "http://maven.thiakil.com"
|
|
|
|
}
|
2018-10-13 20:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-10-15 18:36:46 +02:00
|
|
|
deobfCompile "mezz.jei:jei_1.12.2:4.13.1.220"
|
2018-10-19 14:35:25 +02:00
|
|
|
deobfCompile "com.azanor.baubles:Baubles:1.12-1.5.2"
|
2018-10-26 02:56:38 +02:00
|
|
|
|
|
|
|
compile files("/lib/Patchouli.jar")
|
2018-10-15 18:36:46 +02:00
|
|
|
}
|
2018-10-13 20:35:18 +02:00
|
|
|
|
|
|
|
|
2018-10-15 18:36:46 +02:00
|
|
|
minecraft {
|
|
|
|
version = "1.12.2-14.23.5.2768"
|
|
|
|
mappings = "snapshot_20180720"
|
2018-10-13 20:35:18 +02:00
|
|
|
|
2018-10-15 18:36:46 +02:00
|
|
|
runDir = "run"
|
|
|
|
makeObfSourceJar = false
|
2018-10-13 20:35:18 +02:00
|
|
|
|
2018-10-15 18:36:46 +02:00
|
|
|
replaceIn "NaturesAura.java"
|
|
|
|
replace "@VERSION@", project.version.toString()
|
2018-10-13 20:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
inputs.property "version", project.version
|
|
|
|
inputs.property "mcversion", project.minecraft.version
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
|
|
include 'mcmod.info'
|
2018-10-15 18:36:46 +02:00
|
|
|
expand 'version': project.version, 'mcversion': project.minecraft.version
|
2018-10-13 20:35:18 +02:00
|
|
|
}
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
|
|
exclude 'mcmod.info'
|
|
|
|
}
|
|
|
|
}
|