-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathsettings.gradle.kts
53 lines (47 loc) · 1.59 KB
/
settings.gradle.kts
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
pluginManagement {
repositories {
maven {
name = "localPluginRepo"
url = uri("${System.getProperty("user.home")}/.airbyte/gradle")
}
maven(url = "https://airbyte.mycloudrepo.io/public/repositories/airbyte-public-jars")
gradlePluginPortal()
maven(url = "https://oss.sonatype.org/content/repositories/snapshots")
}
}
// Configure the gradle enterprise plugin to enable build scans. Enabling the plugin at the top of the settings file allows the build scan to record
// as much information as possible.
plugins {
id("com.gradle.enterprise") version "3.4.1"
id("com.github.burrunan.s3-build-cache") version "1.5"
}
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
buildCache {
local {
// Local build cache is dangerous as it might produce inconsistent results
// in case developer modifies files while the build is running
isEnabled = false
}
remote<com.github.burrunan.s3cache.AwsS3BuildCache> {
region = "us-east-2"
bucket = "airbyte-buildcache"
prefix = "cache/"
isPush = System.getenv().containsKey("CI")
isEnabled = System.getenv().containsKey("S3_BUILD_CACHE_ACCESS_KEY_ID")
}
}
rootProject.name = "airbyte-protocol"
// definition for dependency resolution
dependencyResolutionManagement {
repositories {
maven {
url = uri("https://airbyte.mycloudrepo.io/public/repositories/airbyte-public-jars/")
}
}
}
include(":protocol-models")