2013-12-13 10:45:03 +01:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
maven {
|
|
|
|
name = "forge"
|
|
|
|
url = "http://files.minecraftforge.net/maven"
|
|
|
|
}
|
2014-03-28 02:34:47 +01:00
|
|
|
maven {
|
|
|
|
name = "sonatype"
|
|
|
|
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
|
|
|
}
|
2013-12-13 10:45:03 +01:00
|
|
|
}
|
|
|
|
dependencies {
|
2014-04-02 01:47:39 +02:00
|
|
|
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
2013-12-13 10:45:03 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-28 02:34:47 +01:00
|
|
|
apply plugin: 'forge'
|
2013-12-13 10:45:03 +01:00
|
|
|
|
2014-03-28 02:34:47 +01:00
|
|
|
version = "0.2"
|
|
|
|
group = "com.pahimar.ee3" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
2013-12-15 02:04:17 +01:00
|
|
|
archivesBaseName = "EquivalentExchange3"
|
2013-12-13 10:45:03 +01:00
|
|
|
|
|
|
|
minecraft {
|
2014-04-29 03:24:31 +02:00
|
|
|
version = "1.7.2-10.12.1.1063"
|
2014-03-28 02:34:47 +01:00
|
|
|
assetDir = "eclipse/assets"
|
2013-12-29 00:41:08 +01:00
|
|
|
}
|
2014-03-28 02:34:47 +01:00
|
|
|
processResources
|
|
|
|
{
|
|
|
|
// replace stuff in mcmod.info, nothing else
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
|
|
include 'mcmod.info'
|
|
|
|
|
|
|
|
// replace version and mcversion
|
|
|
|
expand 'version': project.version, 'mcversion': project.minecraft.version
|
|
|
|
}
|
|
|
|
|
|
|
|
// copy everything else, thats not the mcmod.info
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
|
|
exclude 'mcmod.info'
|
|
|
|
}
|
|
|
|
}
|