forked from testcontainers/testcontainers-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
51 lines (40 loc) · 1.08 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
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.ch.myniva.gradle:s3-build-cache:0.9.0"
}
configurations.classpath {
resolutionStrategy {
force 'com.amazonaws:aws-java-sdk-s3:1.11.582'
}
}
}
apply plugin: 'ch.myniva.s3-build-cache'
ext.isMasterBuild = System.getenv("CIRCLE_BRANCH") == "master"
buildCache {
local {
enabled = !isMasterBuild
}
remote(ch.myniva.gradle.caching.s3.AwsS3BuildCache) {
endpoint = 'fra1.digitaloceanspaces.com'
region = 'fra1'
bucket = 'testcontainers'
path = 'cache'
push = isMasterBuild
}
}
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"
project(":docs-examples").projectDir = file("docs/examples")
include 'test-support'