forked from Netflix/zuul
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsettings.gradle
More file actions
34 lines (30 loc) · 834 Bytes
/
Copy pathsettings.gradle
File metadata and controls
34 lines (30 loc) · 834 Bytes
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
rootProject.name='zuul'
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'io.harness:gradle-cache:0.0.2'
}
}
include 'zuul-core'
include 'zuul-groovy'
include 'zuul-guice'
include 'zuul-processor'
include 'zuul-sample'
include 'zuul-discovery'
include 'zuul-integration-test'
apply plugin: 'io.harness.gradle-cache'
buildCache {
local {
// Local build cache is dangerous as it might produce inconsistent results
// in case developer modifies files while the build is running
enabled = false
}
remote(io.harness.Cache) {
accountId = System.getenv('HARNESS_ACCOUNT_ID')
token = System.getenv('HARNESS_PAT')
push = System.getenv('CI') == "true"
endpoint = System.getenv('HARNESS_CACHE_SERVICE_ENDPOINT')
}
}