Remove special CI build dir (#1738)
* Remove special CI build dir * Add isCI directly to spotbugs.gradle
This commit is contained in:
parent
308a8f9b0f
commit
5f7d1706c2
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
def isCI = System.getenv("CI") != null
|
||||
|
||||
allprojects {
|
||||
apply plugin: 'com.github.spotbugs'
|
||||
|
||||
|
|
Loading…
Reference in New Issue