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-02-09 17:25:05 +01:00
|
|
|
version = "1.8-0.0.1"
|
2015-01-30 20:16:32 +01:00
|
|
|
group = "ellpeck.someprettyrandomstuff"
|
|
|
|
archivesBaseName = "SomePrettyRandomStuff"
|
2014-11-07 14:19:05 +01:00
|
|
|
|
|
|
|
minecraft {
|
2015-02-09 17:25:05 +01:00
|
|
|
version = "1.8-11.14.0.1295-1.8"
|
2014-11-07 14:19:05 +01:00
|
|
|
runDir = "idea"
|
|
|
|
}
|
|
|
|
|
2015-02-09 17:25:05 +01:00
|
|
|
dependencies{
|
2014-11-07 14:19:05 +01:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-01-05 22:50:20 +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'
|
|
|
|
|
|
|
|
expand 'version':project.version, 'mcversion':project.minecraft.version
|
|
|
|
}
|
|
|
|
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
|
|
exclude 'mcmod.info'
|
|
|
|
}
|
|
|
|
}
|
2015-01-05 22:50:20 +01:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
output.resourcesDir = output.classesDir
|
|
|
|
}
|
|
|
|
}
|