forked from spotbugs/spotbugs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
24 lines (22 loc) · 978 Bytes
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
def eclipseFile = "eclipsePlugin/local.properties"
if (new File(rootDir, eclipseFile).exists()) {
include ':eclipsePlugin', ':eclipsePlugin-test', ':eclipsePlugin-junit', ':spotbugsTestCases', ':spotbugs', ':spotbugs-tests', ':test-harness', ':spotbugs-annotations', ':spotbugs-ant'
} else {
logger.lifecycle('Eclipse plugin configuration (' + eclipseFile + ') was not found. Skipping Eclipse plugin...')
include ':spotbugsTestCases', ':spotbugs', ':spotbugs-tests', ':test-harness', ':spotbugs-annotations', ':spotbugs-ant'
}
include ':test-harness-core', ':test-harness-jupiter'
boolean isCiServer = System.getenv().containsKey("CI")
buildCache {
remote(HttpBuildCache) {
url = 'https://spotbugs.kengo-toda.jp/cache/'
push = isCiServer
if (isCiServer) {
print "Connecting to Gradle Build-Cache with write access..."
credentials {
username = 'travis'
password = System.getenv('GRADLE_BUILD_CACHE_PASSWORD')
}
}
}
}