-
Notifications
You must be signed in to change notification settings - Fork 234
/
settings.gradle
75 lines (67 loc) · 2.2 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
69
70
71
72
73
74
75
plugins {
id "org.kordamp.gradle.oci-build-cache" version "0.6.0"
id("org.gradle.toolchains.foojay-resolver") version "0.8.0"
}
include "module",
"module:geb-core",
"module:geb-spock",
"module:geb-junit",
"module:geb-junit4",
"module:geb-junit5",
"module:geb-testng",
"module:geb-implicit-assertions",
"module:geb-ast",
"module:geb-waiting",
"module:geb-exceptions",
"internal",
"internal:test-support",
"internal:test-support-spock",
"integration",
"integration:geb-gradle",
"doc:asciidoctor-extension",
"doc:manual",
"doc:manual-snippets",
"doc:manual-snippets:fixtures",
"doc:manual-snippets:real-browser",
"doc:site"
rootProject.name = 'geb'
def setBuildFile(project) {
project.buildFileName = "${project.name}.gradle"
project.children.each {
setBuildFile(it)
}
}
setBuildFile(rootProject)
ext.isCiServer = System.getenv("OCI_WRITER_KEY_PASSPHRASE")?.size() > 0
buildCache {
local {
enabled = !isCiServer
}
remote(org.kordamp.gradle.plugin.buildcache.OCIBuildCache) {
push = isCiServer
compartmentId = 'ocid1.compartment.oc1..aaaaaaaap3fg3t2n5lm4vopfcn4ypw6frqgr5qblb3kdkjrwstskho2o5y6q'
config {
region = 'us-ashburn-1'
tenantId = 'ocid1.tenancy.oc1..aaaaaaaakdvpvkhjg75hmgkzgwt5f6bxycvfinbi5fh4hk5jwwvrflitradq'
if (isCiServer) {
userId = 'ocid1.user.oc1..aaaaaaaavxg4ceribtzyjqcjgjq44dnwo4d4wdunxkh7l5owk2zifrr7dfea'
keyfile = new File('.oci/writer.pem')
passphrase = System.getenv("OCI_WRITER_KEY_PASSPHRASE")
fingerprint = 'ff:d9:c6:96:cb:20:64:77:1d:4e:a0:3e:bf:85:c7:e3'
} else {
userId = 'ocid1.user.oc1..aaaaaaaa463rzwweyef2fcby47wz73i6eyp7hwd6skx7bdgf2ie6ido35tla'
keyfile = new File('.oci/reader.pem')
fingerprint = '20:b5:2b:b1:c7:ab:da:2d:82:e9:81:1b:63:f8:59:16'
}
}
}
}
toolchainManagement {
jvm {
javaRepositories {
repository("foojay") {
resolverClass = org.gradle.toolchains.foojay.FoojayToolchainResolver
}
}
}
}