Skip to content

Commit

Permalink
Adjust build process for different dependency MC versions.
Browse files Browse the repository at this point in the history
Signed-off-by: King Lemming <kinglemming@gmail.com>
  • Loading branch information
KingLemming committed Nov 28, 2017
1 parent dd502ba commit feb871d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ repositories {
}

dependencies {
compile "cofh:RedstoneFlux:${config.mc_version}-${config.rf_version}:deobf"
compile "cofh:RedstoneFlux:${config.rf_mc_version}-${config.rf_version}:deobf"
compile "cofh:CoFHCore:${config.mc_version}-${config.cofh_core_version}:deobf"
compile "cofh:ThermalFoundation:${config.mc_version}-${config.tf_version}:deobf"

compile "codechicken:CodeChickenLib:${config.mc_version}-${config.ccl_version}:deobf"
compile "mezz.jei:jei_${config.mc_version}:${config.jei_version}"
compile "codechicken:CodeChickenLib:${config.ccl_mc_version}-${config.ccl_version}:deobf"
compile "mezz.jei:jei_${config.jei_mc_version}:${config.jei_version}"
}

version = "${project.config.mod_version}." + (System.getenv("BUILD_NUMBER") ?: "1")
Expand Down
5 changes: 4 additions & 1 deletion build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ mappings=snapshot_20171003
mod_version=2.3.7

# Dependencies
rf_mc_version=1.12
rf_version=2.0.1.+
cofh_core_version=4.3.7.+
tf_version=2.3.7.+

ccl_mc_version=1.12
ccl_version=3.1.3.+
jei_version=4.7.0.+
jei_mc_version=1.12.2
jei_version=4.8.0.+

0 comments on commit feb871d

Please sign in to comment.