File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -37,8 +37,10 @@ configure(allprojects){
37
37
return " com.github.Anuken.Mindustry$module :$mindustryVersion "
38
38
}
39
39
40
+ localBlackhole = new File (rootDir. parent, ' MindustryBlackHoleRenderer' ). exists()
41
+
40
42
blackhole = {String module ->
41
- return " com.github.MEEPofFaith$module :$blackHoleRendererVersion "
43
+ return " com.github.MEEPofFaith${ localBlackhole ? ".MindustryBlackHoleRenderer" : "" } $ module :$blackHoleRendererVersion "
42
44
}
43
45
}
44
46
Original file line number Diff line number Diff line change @@ -10,3 +10,8 @@ if(JavaVersion.current().ordinal() < JavaVersion.VERSION_17.ordinal()){
10
10
}
11
11
12
12
rootProject. name = modName
13
+
14
+ if (new File (rootDir. parent, ' MindustryBlackHoleRenderer' ). exists()){
15
+ println (" Compiling with local Black Hole Library" )
16
+ includeBuild(" ../MindustryBlackHoleRenderer" )
17
+ }
You can’t perform that action at this time.
0 commit comments