-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
73 lines (64 loc) · 2 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
pluginManagement {
fun requireNonBlankGitHubCred(key: String, env: String) =
if (extra.has(key)) {
with(extra[key] as String?) {
if (isNullOrBlank()) {
println("Gradle property \"$key\" has been set to a null or blank value.")
throw RuntimeException("Gradle property \"$key\" has been set to a null or blank value.")
}
this
}
} else {
with(System.getenv(env)) {
if (isNullOrBlank()) {
println("Environment variable \"$env\" is missing or blank and no \"$key\" gradle property was present.")
throw RuntimeException("Environment variable \"$env\" is missing or blank and no \"$key\" gradle property was present.")
}
this
}
}
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/veupathdb/maven-packages")
credentials {
username = requireNonBlankGitHubCred("gpr.user", "GITHUB_USERNAME")
password = requireNonBlankGitHubCred("gpr.key", "GITHUB_TOKEN")
}
}
}
}
rootProject.name = "vdi"
include(":platform")
include(":lib:app-db")
include(":lib:async")
include(":lib:cache-db")
include(":lib:dataset-reinstaller")
include(":lib:env")
include(":lib:install-cleanup")
include(":lib:kafka")
include(":lib:ldap")
include(":lib:plugin-client")
include(":lib:plugin-mapping")
include(":lib:metrics")
include(":lib:module-core")
include(":lib:pruner")
include(":lib:rabbit")
include(":lib:reconciler")
include(":lib:s3")
include(":lib:test-utils")
include(":service:bootstrap")
include(":service:rest-service")
include(":service:daemon:event-router")
include(":service:daemon:pruner")
include(":service:daemon:reconciler")
include(":service:lane:hard-delete")
include(":service:lane:import")
include(":service:lane:install")
include(":service:lane:reconciliation")
include(":service:lane:sharing")
include(":service:lane:soft-delete")
include(":service:lane:update-meta")