Skip to content

Commit 9976116

Browse files
NotStirredCursedFlames
authored andcommitted
Attempt to fix intermittent build failures due to core build happening too late
1 parent 9eb3c24 commit 9976116

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,10 @@ project.tasks.matching {
280280
it.dependsOn(genAll)
281281
}
282282
// Ensure we always genAll on any run
283-
processResources.dependsOn(genAll)
283+
processResources.dependsOn(genAll, "CubicChunksCore:assemble")
284+
285+
// Force core to be built before the main project
286+
compileJava.dependsOn("CubicChunksCore:assemble")
284287

285288
// unzipping subproject (CubicChunksCore) tests
286289
tasks.register('unzipTests', Copy) {

0 commit comments

Comments
 (0)