2014-11-07 14:19:05 +01:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
name = "forge"
|
|
|
|
url = "http://files.minecraftforge.net/maven"
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
name = "sonatype"
|
|
|
|
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'forge'
|
2015-04-26 20:07:57 +02:00
|
|
|
apply plugin: 'maven'
|
2014-11-07 14:19:05 +01:00
|
|
|
|
2015-12-17 22:14:37 +01:00
|
|
|
version = "1.7.10-r13"
|
2015-03-07 12:51:28 +01:00
|
|
|
group = "ellpeck.actuallyadditions"
|
|
|
|
archivesBaseName = "ActuallyAdditions"
|
2014-11-07 14:19:05 +01:00
|
|
|
|
|
|
|
minecraft {
|
2015-11-25 20:24:00 +01:00
|
|
|
version = "1.7.10-10.13.4.1558-1.7.10"
|
2014-11-07 14:19:05 +01:00
|
|
|
runDir = "idea"
|
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 {
|
|
|
|
maven {
|
|
|
|
name "Mobius"
|
|
|
|
url "http://mobiusstrip.eu/maven"
|
|
|
|
}
|
|
|
|
maven {
|
|
|
|
name "ChickenBones"
|
|
|
|
url "http://chickenbones.net/maven/"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2015-06-12 19:12:06 +02:00
|
|
|
compile "mcp.mobius.waila:Waila:1.5.10_1.7.10"
|
2015-07-15 00:17:21 +02:00
|
|
|
compile "codechicken:CodeChickenLib:1.7.10-1.1.3.138:dev"
|
|
|
|
compile "codechicken:CodeChickenCore:1.7.10-1.0.7.46:dev"
|
|
|
|
compile "codechicken:NotEnoughItems:1.7.10-1.0.5.110:dev"
|
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
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
output.resourcesDir = output.classesDir
|
|
|
|
}
|
|
|
|
}
|