forked from testcontainers/testcontainers-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
59 lines (48 loc) · 1.43 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.gradle.enterprise:com.gradle.enterprise.gradle.plugin:3.18.1"
classpath "com.gradle:common-custom-user-data-gradle-plugin:2.0.2"
classpath "org.gradle.toolchains:foojay-resolver:0.8.0"
}
}
apply plugin: 'com.gradle.develocity'
apply plugin: "com.gradle.common-custom-user-data-gradle-plugin"
apply plugin: "org.gradle.toolchains.foojay-resolver-convention"
rootProject.name = 'testcontainers-java'
include "bom"
include "testcontainers"
project(':testcontainers').projectDir = "$rootDir/core" as File
file('modules').eachDir { dir ->
include dir.name
project(":${dir.name}").projectDir = dir
}
include ':docs:examples:junit4:generic'
include ':docs:examples:junit4:redis'
include ':docs:examples:junit5:redis'
include ':docs:examples:spock:redis'
include 'test-support'
ext.isCI = System.getenv("CI") != null
buildCache {
local {
enabled = !isCI
}
remote(develocity.buildCache) {
push = isCI && !System.getenv("READ_ONLY_REMOTE_GRADLE_CACHE") && System.getenv("DEVELOCITY_ACCESS_KEY")
enabled = true
}
}
develocity {
buildScan {
server = "https://ge.testcontainers.org/"
publishing.onlyIf {
it.authenticated
}
uploadInBackground = !isCI
capture.fileFingerprints = true
}
}