forked from testcontainers/testcontainers-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
68 lines (56 loc) · 1.74 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
62
63
64
65
66
67
68
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.ch.myniva.gradle:s3-build-cache:0.10.0"
classpath "com.gradle.enterprise:com.gradle.enterprise.gradle.plugin:3.6.1"
classpath "com.gradle:common-custom-user-data-gradle-plugin:1.2.1"
}
}
apply plugin: 'ch.myniva.s3-build-cache'
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.isMasterBuild = false ||
(System.getenv("GITHUB_REF") == "refs/heads/master") ||
(System.getenv("BUILD_SOURCEBRANCHNAME") == "master")
buildCache {
local {
enabled = !isMasterBuild
}
remote(ch.myniva.gradle.caching.s3.AwsS3BuildCache) {
endpoint = 'fra1.digitaloceanspaces.com'
region = 'fra1'
bucket = 'testcontainers'
path = 'cache'
reducedRedundancy = false
push = isMasterBuild && !System.getenv("READ_ONLY_REMOTE_GRADLE_CACHE")
headers = [
'x-amz-acl': 'public-read'
]
}
}
gradleEnterprise {
buildScan {
server = "https://ge.testcontainers.org/"
publishAlways()
publishIfAuthenticated()
uploadInBackground = System.getenv("CI") == null
captureTaskInputFiles = true
}
}