NaturesAura/build.gradle

56 lines
1.2 KiB
Groovy
Raw Normal View History

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
version = "1.0"
2018-10-15 18:36:46 +02:00
group = "de.ellpeck.naturesaura"
2018-10-13 20:35:18 +02:00
archivesBaseName = "naturesaura"
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-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-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'
}
}