-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
settings.gradle
53 lines (46 loc) · 1.36 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
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.2.1"
}
}
apply plugin: 'ch.myniva.s3-build-cache'
apply plugin: 'com.gradle.enterprise'
rootProject.name = 'testcontainers-examples'
includeBuild '..'
// explicit include to allow Dependabot to autodiscover subprojects
include 'disque-job-queue'
include 'linked-container'
include 'mongodb-container'
include 'redis-backed-cache'
include 'redis-backed-cache-testng'
include 'selenium-container'
include 'singleton-container'
include 'solr-container'
include 'spring-boot'
include 'cucumber'
include 'spring-boot-kotlin-redis'
include 'spock'
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'
push = isMasterBuild && !System.getenv("READ_ONLY_REMOTE_GRADLE_CACHE")
headers = [
'x-amz-acl': 'public-read'
]
}
}