Skip to content

Commit

Permalink
Hopefully got ChickenChunks building
Browse files Browse the repository at this point in the history
  • Loading branch information
Chicken-Bones committed Sep 30, 2014
1 parent 2cf1cf0 commit d577b99
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/build/.gradle
/build/build
13 changes: 6 additions & 7 deletions build/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -64,24 +64,23 @@ sourceSets {
}

processResources {
//redo task if any of these properties change
// Redo task if any of these properties change
inputs.property "version", project.version
inputs.property "mc_version", config.mc_version

// Replace properties in info files
from(sourceSets.main.resources.srcDirs) {
include '*.info'
expand 'version':project.version,'mc_version':config.mc_version
}
// Copy everything else
from(sourceSets.main.resources.srcDirs) {
include 'assets/**/*.*'
}

// Move access transformer to META-INF
rename '(.+_at.cfg)', 'META-INF/$1'
}

version = "${project.minecraft.version}-${project.version}"
def commonManifest = {
attributes 'AccessTransformer': 'chickenchunks_at.cfg'
attributes 'FMLAT': 'chickenchunks_at.cfg'
}

jar {
Expand Down
2 changes: 1 addition & 1 deletion build/build.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mc_version=1.7.10
forge_version=10.13.0.1151
forge_version=10.13.1.1217
ccl_version=1.1.1.98
ccc_version=1.0.3.+
mod_version=1.3.4
2 changes: 1 addition & 1 deletion build/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip
distributionUrl=http\://services.gradle.org/distributions/gradle-2.0-bin.zip

0 comments on commit d577b99

Please sign in to comment.