forked from airbytehq/airbyte-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
135 lines (122 loc) · 4.6 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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
import com.gradle.scan.plugin.PublishedBuildScan
pluginManagement {
repositories {
// uncomment for local dev
// maven {
// name = "localPluginRepo"
// url = uri("../.gradle-plugins-local")
// }
maven {
url 'https://airbyte.mycloudrepo.io/public/repositories/airbyte-public-jars'
}
gradlePluginPortal()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
resolutionStrategy {
eachPlugin {
// We're using the 6.1.0-SNAPSHOT version of openapi-generator which contains a fix for generating nullable arrays (https://github.com/OpenAPITools/openapi-generator/issues/13025)
// The snapshot version isn't available in the main Gradle Plugin Portal, so we added the Sonatype snapshot repository above.
// The useModule command below allows us to map from the plugin id, `org.openapi.generator`, to the underlying module (https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-gradle-plugin/6.1.0-SNAPSHOT/_
if (requested.id.id == 'org.openapi.generator') {
useModule "org.openapitools:openapi-generator-gradle-plugin:${requested.version}"
}
}
}
}
// 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.15.1"
id 'com.github.burrunan.s3-build-cache' version "1.5"
}
gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}
gradleEnterprise {
buildScan {
buildScanPublished { PublishedBuildScan scan ->
file("scan-journal.log") << "${new Date()} - ${scan.buildScanId} - ${scan.buildScanUri}\n"
}
}
}
ext.isCiServer = System.getenv().containsKey("CI")
buildCache {
// we use a different caching mechanism for Dagger builds
if (System.getenv("DAGGER") == null) {
remote(com.github.burrunan.s3cache.AwsS3BuildCache) {
region = 'us-west-2'
bucket = 'ab-ci-cache'
prefix = 'platform-ci-cache/'
push = isCiServer
enabled = System.getenv().containsKey("S3_BUILD_CACHE_ACCESS_KEY_ID")
}
}
}
rootProject.name = 'airbyte'
// definition for dependency resolution
dependencyResolutionManagement {
repositories {
maven {
url 'https://airbyte.mycloudrepo.io/public/repositories/airbyte-public-jars/'
}
}
versionCatalogs {
libs {
from(files("deps.toml"))
}
}
}
// todo (cgardens) - alphabetize
// shared
include ':airbyte-commons'
include ':airbyte-api'
include ':airbyte-api-server'
include ':airbyte-workload-api-server'
include ':airbyte-commons-protocol'
include ':airbyte-config:specs'
include ':airbyte-config:init'
include ':airbyte-config:config-models' // reused by acceptance tests in connector base.
include ':airbyte-data'
include ':airbyte-db:db-lib' // reused by acceptance tests in connector base.
include ':airbyte-json-validation'
include ':airbyte-metrics:metrics-lib'
include ':airbyte-oauth'
include ':airbyte-test-utils'
// airbyte-workers has a lot of dependencies.
include ':airbyte-analytics' // transitively used by airbyte-workers.
include ':airbyte-commons-temporal'
include ':airbyte-commons-temporal-core'
include ':airbyte-commons-converters'
include ':airbyte-commons-worker'
include ':airbyte-config:config-persistence' // transitively used by airbyte-workers.
include ':airbyte-config:config-secrets' //
include ':airbyte-featureflag'
include ':airbyte-db:jooq' // transitively used by airbyte-workers.
include ':airbyte-micronaut-temporal'
include ':airbyte-notification' // transitively used by airbyte-workers.
include ':airbyte-persistence:job-persistence' // transitively used by airbyte-workers.
include ':airbyte-worker-models'
include ':airbyte-bootloader'
include ':airbyte-commons-auth'
include ':airbyte-commons-license'
include ':airbyte-commons-micronaut'
include ':airbyte-commons-server'
include ':airbyte-commons-with-dependencies'
include ':airbyte-connector-builder-server'
include ':airbyte-container-orchestrator'
include ':airbyte-cron'
include ':airbyte-keycloak'
include ':airbyte-keycloak-setup'
include ':airbyte-metrics:reporter'
include ':airbyte-proxy'
include ':airbyte-server'
include ':airbyte-temporal'
include ':airbyte-tests'
include ':airbyte-webapp'
include ':airbyte-workers'
include ':airbyte-workload-launcher'