Improving the build gradle script a bit
This commit is contained in:
parent
422fd7abc7
commit
36256cdd3f
25
build.gradle
25
build.gradle
|
@ -17,16 +17,37 @@ buildscript {
|
||||||
|
|
||||||
apply plugin: 'forge'
|
apply plugin: 'forge'
|
||||||
|
|
||||||
version = "1.7.2-0.2"
|
version = "1.7.2-0.2" + System.getenv("BUILD_NUMBER") ?: 0;
|
||||||
group = "com.pahimar.ee3" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
group = "com.pahimar.ee3" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||||
archivesBaseName = "EquivalentExchange3"
|
archivesBaseName = "EquivalentExchange3"
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "1.7.2-10.12.1.1065"
|
version = "1.7.2-10.12.1.1082"
|
||||||
assetDir = "eclipse/assets"
|
assetDir = "eclipse/assets"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
// you may put jars on which you depend on in ./libs
|
||||||
|
// or you may define them like so..
|
||||||
|
//compile "some.group:artifact:version:classifier"
|
||||||
|
//compile "some.group:artifact:version"
|
||||||
|
|
||||||
|
// real examples
|
||||||
|
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
|
||||||
|
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
|
||||||
|
|
||||||
|
// for more info...
|
||||||
|
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
|
||||||
|
// http://www.gradle.org/docs/current/userguide/dependency_management.html
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
processResources
|
processResources
|
||||||
{
|
{
|
||||||
|
// this will ensure that this task is redone when the versions change.
|
||||||
|
inputs.property "version", project.version
|
||||||
|
inputs.property "mcversion", project.minecraft.version
|
||||||
|
|
||||||
// replace stuff in mcmod.info, nothing else
|
// replace stuff in mcmod.info, nothing else
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
from(sourceSets.main.resources.srcDirs) {
|
||||||
include 'mcmod.info'
|
include 'mcmod.info'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
#Sat Dec 28 00:14:08 EST 2013
|
#Sat Dec 28 00:14:08 EST 2013
|
||||||
minecraft_version=1.6.4
|
minecraft_version=1.7.2
|
||||||
forge_version=9.11.1.964
|
forge_version=10.12.1.1082
|
||||||
mod_version=0.1
|
mod_version=0.2
|
||||||
|
|
Loading…
Reference in a new issue