-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
108 lines (95 loc) · 3.6 KB
/
build.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
plugins {
id 'java'
id 'org.springframework.boot' version '3.3.2'
id 'io.spring.dependency-management' version '1.1.6'
}
group = 'yes1sir'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation('org.springframework.boot:spring-boot-starter-thymeleaf') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation('org.springframework.boot:spring-boot-starter-web') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation('org.springframework.boot:spring-boot-starter-data-jpa') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation 'io.jsonwebtoken:jjwt-api:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5'
runtimeOnly 'mysql:mysql-connector-java:8.0.32'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
implementation 'org.slf4j:slf4j-api:2.0.0'
runtimeOnly 'org.slf4j:slf4j-simple:2.0.0'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'commons-logging', module: 'commons-logging'
}
// Google API Client Library for Java
implementation('com.google.api-client:google-api-client:1.32.1') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation('com.google.oauth-client:google-oauth-client-jetty:1.32.1') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation('com.google.http-client:google-http-client-jackson2:1.40.1') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation('com.google.http-client:google-http-client-gson:1.40.1') {
exclude group: 'commons-logging', module: 'commons-logging'
}
// Jackson - Ensure correct version
implementation('com.fasterxml.jackson.core:jackson-core:2.14.0') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation('com.fasterxml.jackson.core:jackson-databind:2.14.0') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation('com.fasterxml.jackson.core:jackson-annotations:2.14.0') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation('org.springframework.cloud:spring-cloud-starter-openfeign') {
exclude group: 'commons-logging', module: 'commons-logging'
}
// Spring Security OAuth2 Client
implementation('org.springframework.boot:spring-boot-starter-oauth2-client') {
exclude group: 'commons-logging', module: 'commons-logging'
}
// Spring Cloud Context
implementation('org.springframework.cloud:spring-cloud-starter-bootstrap:3.1.7') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation('org.springframework.cloud:spring-cloud-context:3.1.7') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation('org.springframework.cloud:spring-cloud-commons:3.1.7') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.0'
implementation 'com.fasterxml.jackson.core:jackson-core:2.15.0'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.15.0'
}
tasks.named('test') {
useJUnitPlatform()
}
configurations {
all {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:2021.0.7"
}
}