-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
84 lines (79 loc) · 2.65 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
/*
* This file was generated by the Gradle 'init' task.
*
* The settings file is used to specify which projects to include in your build.
*
* Detailed information about configuring a multi-project build in Gradle can be found
* in the user manual at https://docs.gradle.org/6.7/userguide/multi_project_builds.html
*/
pluginManagement {
repositories {
mavenLocal()
gradlePluginPortal()
mavenCentral()
maven {
name = "starterBootPkgs"
url = uri("https://maven.pkg.github.com/department-of-veterans-affairs/lighthouse-di-starter-boot")
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "Bearer " + GITHUB_ACCESS_TOKEN
}
authentication {
register("header", HttpHeaderAuthentication)
}
}
maven {
name = "nexus"
url = uri("https://tools.health.dev-developer.va.gov/nexus")
credentials {
String result = "unknown"
result = System.getenv("NEXUS_USERNAME")
username = !result ? "NEXUS_USERNAME_FIXME" : result;
result = System.getenv("NEXUS_TOKEN")
password = !result ? "NEXUS_TOKEN_FIXME" : result;
}
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
mavenLocal()
mavenCentral()
maven {
name = "starterBootPkgs"
url = uri("https://maven.pkg.github.com/department-of-veterans-affairs/lighthouse-di-starter-boot")
credentials(HttpHeaderCredentials) {
name = "Authorization"
value = "Bearer " + GITHUB_ACCESS_TOKEN
}
authentication {
register("header", HttpHeaderAuthentication)
}
}
maven {
name = "nexus"
url = uri("https://tools.health.dev-developer.va.gov/nexus")
credentials {
String result = "unknown"
result = System.getenv("NEXUS_USERNAME")
username = !result ? "NEXUS_USERNAME_FIXME" : result;
result = System.getenv("NEXUS_TOKEN")
password = !result ? "NEXUS_TOKEN_FIXME" : result;
}
}
}
}
rootProject.name = 'example-api'
include ':api'
include ':app'
include ':container-init'
include ':controller'
include ':db-init'
include ':opa-init'
include ':persistence:impl'
include ':persistence:model'
include ':service:activator'
include ':service:provider'
include ':service:spi'
include ':test-data-factory'