This repository was archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathbuild.gradle
More file actions
104 lines (86 loc) · 3.88 KB
/
Copy pathbuild.gradle
File metadata and controls
104 lines (86 loc) · 3.88 KB
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
/*
* Copyright (c) 2020 Nike, inc.
*
* Licensed under the Apache License, Version 2.0 (the "License")
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
plugins {
id 'org.springframework.boot' version "2.7.0"
}
sourceCompatibility = '11'
springBoot {
buildInfo {
properties {
name = 'Cerberus'
}
}
}
dependencies {
implementation project(":cerberus-audit-logger-athena")
implementation project(":cerberus-auth-connector-okta")
implementation project(":cerberus-auth-connector-onelogin")
implementation project(":cerberus-core")
implementation project(":cerberus-dashboard")
implementation project(":cerberus-domain")
// Spring
implementation "org.springframework.boot:spring-boot-starter-actuator:${versions.springBoot}"
implementation "org.springframework.boot:spring-boot-starter-web:${versions.springBoot}"
implementation "org.springframework.boot:spring-boot-starter-security:${versions.springBoot}"
// DB: Mybatis, Flyway, C3p0
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2'
implementation 'org.mybatis:mybatis-spring:2.0.7'
implementation 'org.mybatis:mybatis:3.5.10'
implementation 'com.mchange:c3p0:0.9.5.5'
implementation 'mysql:mysql-connector-java:8.0.31'
implementation 'org.flywaydb:flyway-core:5.2.4' // Can't upgrade this past this version until Aurora is upgraded to 5.7
// First secrets
implementation "io.spinnaker.kork:kork-secrets:${versions.kork}"
// Misc
implementation "com.netflix.hystrix:hystrix-core:1.5.18" // TODO remove hystrix and use resilience4j
implementation group: 'com.google.guava', name: 'guava', version: "${versions.guava}" // todo, pretty sure with Java 11, we can get ride of this, we mostly use this for the collection builders.
implementation 'com.google.code.gson:gson:2.9.1' // todo delete, should use jackson. see cipher text utils
// Secure File Mime Type
implementation group: 'org.apache.tika', name: 'tika-core', version: '2.6.0'
// AWS
implementation "com.amazonaws:aws-java-sdk-core:${versions.awsSdkVersion}"
implementation "com.amazonaws:aws-java-sdk-kms:${versions.awsSdkVersion}"
implementation "com.amazonaws:aws-java-sdk-sts:${versions.awsSdkVersion}"
implementation "com.amazonaws:aws-java-sdk-s3:${versions.awsSdkVersion}"
implementation "com.amazonaws:aws-java-sdk-secretsmanager:${versions.awsSdkVersion}"
implementation 'com.amazonaws:aws-encryption-sdk-java:1.9.1'
// JWT
implementation "io.jsonwebtoken:jjwt-api:${versions.jjwt}"
implementation "io.jsonwebtoken:jjwt-impl:${versions.jjwt}"
implementation "io.jsonwebtoken:jjwt-jackson:${versions.jjwt}"
//dist tracing
implementation 'com.nike.wingtips:wingtips-spring-boot:0.24.2'
// test deps
testImplementation("org.springframework.boot:spring-boot-starter-test:${versions.springBoot}")
testImplementation "commons-io:commons-io:2.11.0"
testImplementation "com.nike.backstopper:backstopper-reusable-tests:0.15.0"
// Integration Test Deps
integrationTestImplementation sourceSets.main.output
integrationTestImplementation sourceSets.test.output
integrationTestCompileOnly 'org.projectlombok:lombok'
integrationTestAnnotationProcessor 'org.projectlombok:lombok'
integrationTestImplementation "io.rest-assured:rest-assured-all:${versions.restAssured}"
}
configurations{
integrationTestImplementation.extendsFrom(testImplementation)
integrationTestRuntime.extendsFrom(testRuntime)
}
jar {
enabled = true
}
bootJar {
archiveFileName = 'cerberus.jar'
}