Skip to content

Commit

Permalink
Added DepLoader (Thanks, ChickenBones ;) )
Browse files Browse the repository at this point in the history
  • Loading branch information
founderio committed Dec 1, 2015
1 parent 128b0a2 commit 6198d78
Show file tree
Hide file tree
Showing 4 changed files with 769 additions and 12 deletions.
19 changes: 7 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ apply plugin: 'forge'
version = "0.1"
group = "net.teamio.taam"
archivesBaseName = "taam-1.7.10"
cclversion = "1.1.1.104"

minecraft {
version = "1.7.10-10.13.4.1558-1.7.10"
Expand All @@ -46,7 +47,7 @@ sourceSets {
dependencies {
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev'

compile 'codechicken:CodeChickenLib:1.7.10-1.1.1.104:dev'
compile 'codechicken:CodeChickenLib:1.7.10-' + project.cclversion + ':dev'
// compile fileTree(dir: 'lib', include: '*.jar')
}

Expand Down Expand Up @@ -74,17 +75,11 @@ 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
// 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
inputs.property "cclversion", project.cclversion

// Replace properties in info files
from(sourceSets.main.resources.srcDirs) {

include '*.info'
expand 'version':project.version,'mcversion':project.minecraft.version,'cclversion':project.cclversion
}
}
Loading

0 comments on commit 6198d78

Please sign in to comment.