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-11-14 00:42:25 +01:00
|
|
|
version = "b2"
|
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 {
|
2018-11-11 16:50:51 +01:00
|
|
|
mavenCentral()
|
2018-10-15 18:36:46 +02:00
|
|
|
maven {
|
2018-11-10 23:25:53 +01:00
|
|
|
url = "http://dvs1.progwml6.com/files/maven"
|
2018-10-15 18:36:46 +02:00
|
|
|
}
|
2018-10-19 14:35:25 +02:00
|
|
|
maven {
|
|
|
|
url = "http://maven.thiakil.com"
|
|
|
|
}
|
2018-11-10 23:25:53 +01:00
|
|
|
maven {
|
|
|
|
url = "https://maven.blamejared.com"
|
|
|
|
}
|
2018-10-13 20:35:18 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2018-11-11 16:50:51 +01:00
|
|
|
compile "vazkii.patchouli:Patchouli:1.0-6.8"
|
|
|
|
|
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-11-11 16:50:51 +01:00
|
|
|
|
|
|
|
compile "com.blamejared:MTLib:3.0.4.8"
|
|
|
|
compile "CraftTweaker2:CraftTweaker2-MC1120-Main:1.12-4.1.11.494"
|
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'
|
|
|
|
}
|
|
|
|
}
|