forked from testcontainers/testcontainers-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
61 lines (50 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
60
61
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.gradle.enterprise:com.gradle.enterprise.gradle.plugin:3.12.2"
classpath "com.gradle:common-custom-user-data-gradle-plugin:1.8.2"
}
}
apply plugin: 'com.gradle.enterprise'
apply plugin: "com.gradle.common-custom-user-data-gradle-plugin"
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(HttpBuildCache) {
push = isCI && !System.getenv("READ_ONLY_REMOTE_GRADLE_CACHE")
enabled = true
url = 'https://ge.testcontainers.org/cache/'
credentials {
username = 'ci'
password = System.getenv("GRADLE_ENTERPRISE_CACHE_PASSWORD")
}
}
}
gradleEnterprise {
buildScan {
server = "https://ge.testcontainers.org/"
publishAlways()
publishIfAuthenticated()
uploadInBackground = !isCI
captureTaskInputFiles = true
}
}