-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
68 lines (55 loc) · 2.17 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
plugins {
id 'org.springframework.boot' version '2.7.4'
id 'io.spring.dependency-management' version '1.0.14.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '17'
targetCompatibility = '17'
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
// 메이븐 애플 로그인 플젝에서 가져온 것
implementation 'org.apache.httpcomponents:httpclient'
implementation 'com.nimbusds:nimbus-jose-jwt:3.10'
implementation "io.jsonwebtoken:jjwt:0.9.1"
implementation "org.bouncycastle:bcpkix-jdk15on:1.50"
implementation "org.apache.httpcomponents:httpclient:4.5.13"
implementation fileTree(dir: 'libs', include: '*.jar')
}
tasks.named('test') {
useJUnitPlatform()
}
tasks.withType(JavaCompile){
options.compilerArgs.addAll([
"--add-exports=java.base/sun.security.pkcs=ALL-UNNAMED",
"--add-exports=java.base/sun.security.util=ALL-UNNAMED",
"--add-exports=java.base/sun.security.x509=ALL-UNNAMED"
])
}
//////Note: these should be reflected in the module-info additions passed to the JDK
//compileJava.options.compilerArgs.addAll([
// "--add-exports=java.base/sun.security.timestamp=ALL-UNNAMED",
// "--add-exports=java.base/sun.security.x509=ALL-UNNAMED",
// "--add-exports=jdk.jdeps/com.sun.tools.jdeps=ALL-UNNAMED",
// "--add-exports=jdk.jlink/jdk.tools.jlink.internal.packager=ALL-UNNAMED",
// // Note: not in extras...
// "--add-exports=java.base/sun.security.pkcs=ALL-UNNAMED",
// "--add-exports=java.logging/java.util.logging=ALL-UNNAMED",
// "--add-exports=java.base/sun.security.provider=ALL-UNNAMED",
// "--add-exports=java.base/sun.security.util=ALL-UNNAMED",
// "--add-exports=java.base/sun.security.x509=ALL-UNNAMED"
//])
//compileJava.options.compilerArgs.addAll([
// "--add-exports=java.base/sun.security.pkcs=ALL-UNNAMED",
// "--add-exports=java.base/sun.security.util=ALL-UNNAMED",
// "--add-exports=java.base/sun.security.x509=ALL-UNNAMED"
//])
//compileJava {
// options.compilerArgs.addAll(['--release', '17'])
//}