ActuallyAdditions/build.gradle

76 lines
1.7 KiB
Groovy
Raw Normal View History

2014-11-07 14:19:05 +01:00
buildscript {
repositories {
2016-01-07 18:20:59 +01:00
jcenter()
2014-11-07 14:19:05 +01:00
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
}
dependencies {
2016-01-07 18:20:59 +01:00
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
2014-11-07 14:19:05 +01:00
}
}
2016-01-07 18:20:59 +01:00
apply plugin: 'net.minecraftforge.gradle.forge'
2014-11-07 14:19:05 +01:00
2016-05-14 15:54:57 +02:00
version = "1.9-r33"
2015-12-30 22:02:15 +01:00
group = "de.ellpeck.actuallyadditions"
2015-03-07 12:51:28 +01:00
archivesBaseName = "ActuallyAdditions"
2014-11-07 14:19:05 +01:00
minecraft {
2016-05-04 12:41:28 +02:00
version = "1.9-12.16.1.1887"
2014-11-07 14:19:05 +01:00
runDir = "idea"
2016-04-20 21:39:03 +02:00
mappings = "snapshot_20160420"
2016-01-10 20:16:19 +01:00
makeObfSourceJar = false
2016-03-18 23:47:22 +01:00
//useDepAts = true
2016-01-07 18:20:59 +01:00
replaceIn "ModUtil.java"
2015-11-29 13:17:45 +01:00
replace "@VERSION@", project.version.toString()
2014-11-07 14:19:05 +01:00
}
2015-04-26 20:07:57 +02:00
repositories {
maven {
url "http://chickenbones.net/maven/"
}
2016-01-16 20:06:25 +01:00
maven {
url "http://dvs1.progwml6.com/files/maven"
}
2015-04-26 20:07:57 +02:00
}
dependencies {
//compile "codechicken:CodeChickenLib:1.8-1.1.2.139:dev"
//compile "codechicken:CodeChickenCore:1.8-1.0.5.36:dev"
//compile "codechicken:NotEnoughItems:1.8-1.0.5.104:dev"
2016-01-16 20:06:25 +01:00
deobfCompile "mezz.jei:jei_1.9:3.3.3.197"
2016-05-06 16:32:45 +02:00
compile files("lib/Rarmor.jar")
2014-11-07 14:19:05 +01:00
}
processResources {
2014-11-07 14:19:05 +01:00
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
2015-10-03 22:13:57 +02:00
expand 'version': project.version, 'mcversion': project.minecraft.version
2014-11-07 14:19:05 +01:00
}
2015-10-03 22:13:57 +02:00
2014-11-07 14:19:05 +01:00
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}
2015-01-05 22:50:20 +01:00
jar {}
task deobfJar(type: Jar) {
from sourceSets.main.output
classifier = 'dev'
}
task apiJar(type: Jar) {
from sourceSets.main.output
from sourceSets.main.java
classifier = 'api'
include 'de/ellpeck/actuallyadditions/api/**'
}