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-05-19 20:05:12 +02:00
|
|
|
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
|
2014-11-07 14:19:05 +01:00
|
|
|
}
|
|
|
|
}
|
2016-05-19 20:05:12 +02:00
|
|
|
|
2016-01-07 18:20:59 +01:00
|
|
|
apply plugin: 'net.minecraftforge.gradle.forge'
|
2016-05-19 20:05:12 +02:00
|
|
|
apply plugin: 'idea'
|
2014-11-07 14:19:05 +01:00
|
|
|
|
2016-07-23 19:32:53 +02:00
|
|
|
version = "1.10.2-r55"
|
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-07-21 19:26:24 +02:00
|
|
|
version = "1.10.2-12.18.1.2011"
|
2014-11-07 14:19:05 +01:00
|
|
|
runDir = "idea"
|
2015-11-29 12:07:15 +01:00
|
|
|
|
2016-05-19 20:05:12 +02:00
|
|
|
mappings = "snapshot_20160519"
|
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
|
|
|
|
2015-11-29 12:07:15 +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 {
|
2016-01-16 20:06:25 +01:00
|
|
|
maven {
|
|
|
|
url "http://dvs1.progwml6.com/files/maven"
|
|
|
|
}
|
2016-06-17 14:00:52 +02:00
|
|
|
maven {
|
|
|
|
url "http://maven.epoxide.xyz"
|
|
|
|
}
|
2015-04-26 20:07:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2016-07-21 19:26:24 +02:00
|
|
|
compile "net.darkhax.tesla:Tesla:1.10.2-1.2.0.38"
|
|
|
|
deobfCompile "mezz.jei:jei_1.10.2:3.7.8.234"
|
2014-11-07 14:19:05 +01:00
|
|
|
}
|
|
|
|
|
2015-11-29 12:07:15 +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
|
|
|
|
2015-11-29 12:07:15 +01: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
|
|
|
|
2016-05-19 20:05:12 +02:00
|
|
|
jar {
|
|
|
|
|
|
|
|
}
|
2016-01-06 05:07:32 +01:00
|
|
|
|
2016-01-06 03:50:15 +01:00
|
|
|
task deobfJar(type: Jar) {
|
|
|
|
from sourceSets.main.output
|
2016-05-19 20:05:12 +02:00
|
|
|
from sourceSets.main.java
|
2016-01-06 03:50:15 +01:00
|
|
|
classifier = 'dev'
|
|
|
|
}
|
2016-01-06 05:07:32 +01:00
|
|
|
|
|
|
|
task apiJar(type: Jar) {
|
|
|
|
from sourceSets.main.output
|
|
|
|
from sourceSets.main.java
|
|
|
|
classifier = 'api'
|
|
|
|
include 'de/ellpeck/actuallyadditions/api/**'
|
|
|
|
}
|