File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,13 @@ repositories{
1414 metadataSources{ artifact() }
1515 }
1616
17+ // "Latest" option to depend on BE builds.
18+ ivy{
19+ url ' https://github.com/'
20+ patternLayout{artifact ' /[organisation]/[module]/releases/download/master/[revision].jar' }
21+ metadataSources{ artifact() }
22+ }
23+
1724 // Do the same with jabel
1825 ivy{
1926 url ' https://github.com/'
2835}
2936
3037ext {
31- // the build number that this mod is made for
32- mindustryVersion = ' v155.4'
38+ mindustryVersion = ' v155.4' // the build number that this mod is made for
3339 jabelVersion = " 93fde537c7"
3440 isWindows = System . getProperty(" os.name" ). toLowerCase(). contains(" windows" )
3541 sdkRoot = System . getenv(" ANDROID_HOME" ) ?: System . getenv(" ANDROID_SDK_ROOT" )
@@ -45,7 +51,9 @@ allprojects{
4551}
4652
4753dependencies {
48- compileOnly " Anuken:Mindustry:$mindustryVersion "
54+ def useLatest = false // set to "true" to always depend on the newest version of mindustry
55+
56+ compileOnly useLatest ? " Anuken:MindustryBuilds:latest" : " Anuken:Mindustry:$mindustryVersion "
4957
5058 annotationProcessor " Anuken:jabel:v1.0.0"
5159}
You can’t perform that action at this time.
0 commit comments