Skip to content

Commit

Permalink
Gradle: Only include scenery project in build if it actually exists
Browse files Browse the repository at this point in the history
  • Loading branch information
skalarproduktraum committed Apr 20, 2021
1 parent 19351dc commit 0e36b9b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,9 @@ gradle.rootProject {
}

if (System.getProperty("CI").toBoolean() != true && System.getenv("CI").toBoolean() != true) {
includeBuild("../scenery")
}
if(File("../scenery/build.gradle.kts").exists()) {
logger.warn("Including local scenery project instead of version declared in build")
includeBuild("../scenery")
}
}

0 comments on commit 0e36b9b

Please sign in to comment.