diff --git a/build.gradle b/build.gradle index 961863981f..93801c72b9 100644 --- a/build.gradle +++ b/build.gradle @@ -31,11 +31,6 @@ nebulaRelease { } allprojects { - ext.isCI = System.getenv("CI") != null - if (isCI) { - buildDir = "$rootDir/workspace/${projectDir.path.replace(rootDir.path, '')}/build/" - } - apply from: "$rootDir/gradle/dependencies.gradle" apply from: "$rootDir/gradle/util.gradle" } diff --git a/gradle/spotbugs.gradle b/gradle/spotbugs.gradle index 34918ea06e..78cdb0aa59 100644 --- a/gradle/spotbugs.gradle +++ b/gradle/spotbugs.gradle @@ -1,3 +1,5 @@ +def isCI = System.getenv("CI") != null + allprojects { apply plugin: 'com.github.spotbugs'