forked from spinnaker/kork
/
spinnaker-dependencies.gradle
180 lines (173 loc) · 9.89 KB
/
spinnaker-dependencies.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
apply plugin: "java-platform"
javaPlatform {
allowDependencies()
}
ext {
versions = [
arrow : "0.13.2",
aws : "1.12.176",
bouncycastle : "1.64", // 1.64 removes CVE-2019-17359
brave : "5.12.3",
gcp : "25.3.0",
groovy : "2.5.15", //this needs to keep in sync with the version from boot... if we could get rid of groovy-all we'd no longer need this
jooq : "3.13.6",
jsch : "0.1.54",
jschAgentProxy : "0.0.9",
protobuf : "3.19.4",
okhttp : "2.7.5", // CVE-2016-2402
okhttp3 : "3.14.9",
openapi : "1.3.9", // this needs to be kept in sync with spring boot as it pulls in the spring-boot-dependencies BOM
retrofit : "1.9.0",
retrofit2 : "2.8.1",
spectator : "1.0.6",
spek : "1.1.5",
spek2 : "2.0.9",
springBoot : "2.4.13",
springCloud : "2020.0.5",
springfoxSwagger : "2.9.2",
swagger : "1.5.20", //this should stay in sync with what springfoxSwagger expects
// spring boot 2.4.13 brings in 9.0.55. Use 9.0.62 to resolve
// CVE-2021-43980, CVE-2022-23181, CVE-2022-42252. Spring boot 2.5.14
// brings in 9.0.63.
tomcat : "9.0.62"
]
}
dependencies {
/*
* These are 3rd party BOMs we inherit from. Any version constraints they contain we get
* transitively.
*
* Order matters somewhat here in that if multiple BOMs constrain the same things the FIRST wins.
* For example, `junit-bom` and `jackson-bom` will win out over the versions of JUnit and Jackson
* specified by `spring-boot-dependencies`.
*/
// Log4shell safeguard. Per analysis, log4j-core is not included in dependencies, but this would prevent transitive inclusion of it by extension
// platforms. Doing 2.16.0 which completely removes message lookups AND sets jndi to disabled by default
api(platform("org.apache.logging.log4j:log4j-bom:2.16.0"))
api(platform("org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.4.3"))
//kotlinVersion comes from gradle.properties since we have kotlin code in
// this project and need to configure gradle plugins etc.
api(platform("org.jetbrains.kotlin:kotlin-bom:$kotlinVersion"))
api(platform("org.junit:junit-bom:5.6.3"))
api(platform("com.fasterxml.jackson:jackson-bom:2.12.7.20221012"))
api(platform("io.zipkin.brave:brave-bom:${versions.brave}"))
api(platform("org.springframework.boot:spring-boot-dependencies:${versions.springBoot}"))
api(platform("com.amazonaws:aws-java-sdk-bom:${versions.aws}"))
api(platform("com.google.cloud:libraries-bom:${versions.gcp}"))
api(platform("com.google.cloud:google-cloud-secretmanager:2.1.7"))
api(platform("org.springframework.cloud:spring-cloud-dependencies:${versions.springCloud}"))
api(platform("io.strikt:strikt-bom:0.31.0"))
api(platform("org.spockframework:spock-bom:1.3-groovy-2.5"))
api(platform("com.oracle.oci.sdk:oci-java-sdk-bom:1.5.17"))
api(platform("org.testcontainers:testcontainers-bom:1.16.2"))
api(platform("com.google.protobuf:protobuf-bom:${versions.protobuf}"))
api(platform("io.arrow-kt:arrow-stack:${versions.arrow}"))
constraints {
api("cglib:cglib-nodep:3.3.0")
api("com.amazonaws:aws-java-sdk:${versions.aws}")
api("com.google.api-client:google-api-client:1.30.10") // TODO: Track update for CVE-2020-7692, reanalysis pending.
api("com.google.apis:google-api-services-admin-directory:directory_v1-rev105-1.25.0")
api("com.google.apis:google-api-services-cloudbuild:v1-rev836-1.25.0")
api("com.google.apis:google-api-services-compute:alpha-rev20200526-1.30.9")
api("com.google.apis:google-api-services-iam:v1-rev267-1.25.0")
api("com.google.apis:google-api-services-monitoring:v3-rev477-1.25.0")
api("com.google.apis:google-api-services-storage:v1-rev141-1.25.0")
api("com.google.code.findbugs:jsr305:3.0.2")
api("com.google.guava:guava:30.0-jre")
// JinJava 2.5.3 has a bad bug: https://github.com/HubSpot/jinjava/issues/429
api("com.hubspot.jinjava:jinjava:2.5.2")
api("com.jakewharton.retrofit:retrofit1-okhttp3-client:1.1.0")
api("com.jcraft.jsch:${versions.jsch}")
api("com.jcraft:jsch.agentproxy.connector-factory:${versions.jschAgentProxy}")
api("com.jcraft:jsch.agentproxy.jsch:${versions.jschAgentProxy}")
api("com.natpryce:hamkrest:1.4.2.2")
api("com.netflix.archaius:archaius-core:0.7.7")
api("com.netflix.awsobjectmapper:awsobjectmapper:${versions.aws}")
api("com.netflix.dyno:dyno-jedis:1.7.2")
api("com.netflix.eureka:eureka-client:1.10.17")
api("com.netflix.frigga:frigga:0.24.0")
api("com.netflix.netflix-commons:netflix-eventbus:0.3.0")
api("com.netflix.spectator:spectator-api:${versions.spectator}")
api("com.netflix.spectator:spectator-ext-aws:${versions.spectator}")
api("com.netflix.spectator:spectator-ext-gc:${versions.spectator}")
api("com.netflix.spectator:spectator-ext-jvm:${versions.spectator}")
api("com.netflix.spectator:spectator-nflx-plugin:${versions.spectator}")
api("com.netflix.spectator:spectator-reg-atlas:${versions.spectator}")
api("com.netflix.spectator:spectator-web-spring:${versions.spectator}")
api("com.netflix.spectator:spectator-reg-micrometer:${versions.spectator}")
api("com.nimbusds:nimbus-jose-jwt:7.9")
api("io.spinnaker.embedded-redis:embedded-redis:0.9.0")
api("com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0")
api("com.nhaarman:mockito-kotlin:1.6.0")
api("com.ninja-squad:springmockk:2.0.3")
api("com.squareup.okhttp3:logging-interceptor:${versions.okhttp3}")
api("com.squareup.okhttp3:mockwebserver:${versions.okhttp3}")
api("com.squareup.okhttp3:okhttp-sse:${versions.okhttp3}")
api("com.squareup.okhttp3:okhttp-urlconnection:${versions.okhttp3}")
api("com.squareup.okhttp3:okhttp:${versions.okhttp3}")
api("com.squareup.okhttp:mockwebserver:${versions.okhttp}")
api("com.squareup.okhttp:okhttp-apache:${versions.okhttp}")
api("com.squareup.okhttp:okhttp-urlconnection:${versions.okhttp}")
api("com.squareup.okhttp:okhttp:${versions.okhttp}")
api("com.squareup.retrofit2:converter-jackson:${versions.retrofit2}")
api("com.squareup.retrofit2:retrofit-mock:${versions.retrofit2}")
api("com.squareup.retrofit2:retrofit:${versions.retrofit2}")
api("com.squareup.retrofit:converter-jackson:${versions.retrofit}")
api("com.squareup.retrofit:converter-simplexml:${versions.retrofit}")
api("com.squareup.retrofit:retrofit-mock:${versions.retrofit}")
api("com.squareup.retrofit:retrofit:${versions.retrofit}")
api("com.sun.xml.bind:jaxb-core:2.3.0.1")
api("com.sun.xml.bind:jaxb-impl:2.3.2")
api("com.vdurmont:semver4j:3.1.0")
api("commons-configuration:commons-configuration:1.8")
api("commons-io:commons-io:2.11.0")
// CVE's in 3.2.1
api("commons-collections:commons-collections:[3.2.2,3.3)")
api("de.danielbechler:java-object-diff:0.95")
api("de.huxhorn.sulky:de.huxhorn.sulky.ulid:8.2.0")
api("dev.minutest:minutest:1.13.0")
api("io.mockk:mockk:1.10.5")
api("io.springfox:springfox-swagger-ui:${versions.springfoxSwagger}")
api("io.springfox:springfox-swagger2:${versions.springfoxSwagger}")
api("io.swagger:swagger-annotations:${versions.swagger}")
api("javax.annotation:javax.annotation-api:1.3.2")
api("javax.xml.bind:jaxb-api:2.3.1")
api("mysql:mysql-connector-java:8.0.20")
api("net.logstash.logback:logstash-logback-encoder:4.11")
api("net.minidev:json-smart:2.4.1") // TODO: remove this with upgrade of spring-boot version to 2.5.0 or above
api("org.apache.commons:commons-exec:1.3")
api("org.bouncycastle:bcpkix-jdk15on:${versions.bouncycastle}")
api("org.bouncycastle:bcprov-jdk15on:${versions.bouncycastle}")
api("org.codehaus.groovy:groovy-all:${versions.groovy}")
api("org.jetbrains:annotations:19.0.0")
api("org.spekframework.spek2:spek-dsl-jvm:${versions.spek2}")
api("org.spekframework.spek2:spek-runner-junit5:${versions.spek2}")
api("org.jetbrains.spek:spek-api:${versions.spek}")
api("org.jetbrains.spek:spek-junit-platform-engine:${versions.spek}")
api("org.jetbrains.spek:spek-junit-platform-runner:${versions.spek}")
api("org.jetbrains.spek:spek-subject-extension:${versions.spek}")
api("org.jooq:jooq:${versions.jooq}")
api("org.jooq:jooq-kotlin:${versions.jooq}")
api("org.objenesis:objenesis:2.5.1")
api("org.pf4j:pf4j:3.2.0")
api("org.pf4j:pf4j-update:2.3.0")
api("org.yaml:snakeyaml:1.29") // safe to upgrade beyond 1.29 with spring boot >= 2.6.12. See https://github.com/spring-projects/spring-boot/issues/32228#issue-1361858500.
api("org.springdoc:springdoc-openapi-webmvc-core:${versions.openapi}")
api("org.springdoc:springdoc-openapi-kotlin:${versions.openapi}")
api("org.springframework.boot:spring-boot-configuration-processor:${versions.springBoot}")
api("org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:2.3.12.RELEASE")
api("org.springframework.security.extensions:spring-security-saml-dsl-core:1.0.5.RELEASE")
api("org.springframework.security.extensions:spring-security-saml2-core:1.0.9.RELEASE")
api("org.testng:testng:7.4.0") // TODO: remove this with upgrade of spring-boot version to 2.5.0 or with upgrade of groovy-all to 3.0.8
api("org.threeten:threeten-extra:1.0")
api("org.apache.tomcat.embed:tomcat-embed-core:${versions.tomcat}")
api("org.apache.tomcat.embed:tomcat-embed-el:${versions.tomcat}")
api("org.apache.tomcat.embed:tomcat-embed-websocket:${versions.tomcat}")
api('org.apache.ant:ant:1.10.12') {
because "1.9.15 is resolved transitively through Groovy, removes CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-15250"
}
api('org.apache.ant:ant-launcher:1.10.12'){
because "1.9.15 is resolved transitively through Groovy, removes CVE-2021-36374, CVE-2021-36373, CVE-2020-11979, CVE-2020-15250"
}
}
}