-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
80 lines (69 loc) · 3 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
/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'maven-publish'
id 'org.springframework.boot' version '2.5.1'
}
repositories {
mavenLocal()
maven {
url = uri('https://repo.maven.apache.org/maven2/')
}
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.6.4'
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client:2.6.4'
implementation 'org.springframework.boot:spring-boot-starter-security:2.6.4'
implementation 'org.springframework.boot:spring-boot-starter-web:2.6.4'
// implementation 'org.projectlombok:lombok:1.18.22'
implementation 'com.github.maricn:logback-slack-appender:1.4.0'
implementation 'org.springdoc:springdoc-openapi-ui:1.6.6'
//JSR-374 API(인터페이스) 의존성 추가
implementation 'javax.json:javax.json-api:1.1.4'
implementation group: 'org.modelmapper', name: 'modelmapper', version: '2.3.8'
//JSR-374 API-Implements(구현체) 의존성 추가
implementation 'org.glassfish:javax.json:1.1.4' // 기본
//implementation 'org.apache.johnzon:johnzon-core:1.2.14' //서드파티 (의존성 추가시 서비스로더에 의해 우선 선택됨, 없으면 기본 glassfish를 선택)
implementation 'com.ibm.icu:icu4j:4.0.1'
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
//
implementation 'org.springdoc:springdoc-openapi-security:1.5.4'
// jwt
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
implementation 'io.jsonwebtoken:jjwt-impl:0.11.2'
implementation 'io.jsonwebtoken:jjwt-jackson:0.11.2'
// Firebase SDK
implementation 'com.google.firebase:firebase-admin:6.8.1'
// https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
implementation 'com.squareup.okhttp3:okhttp:4.9.3'
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.9.6'
//Json 라이브러리로 Jackson 사용시 JSR-374 Serialize/Deserialize 를 처리하기 위한 의존성 추가
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr353'
runtimeOnly 'org.springframework.boot:spring-boot-devtools:2.6.4'
runtimeOnly 'mysql:mysql-connector-java:8.0.28'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.6.4'
testImplementation 'org.springframework.security:spring-security-test:5.6.2'
compileOnly 'org.projectlombok:lombok:1.18.22'
annotationProcessor 'org.projectlombok:lombok:1.18.22'
}
group = 'com.jasik'
version = '0.0.1-SNAPSHOT'
description = 'MomsNaggingAPI'
java.sourceCompatibility = JavaVersion.VERSION_1_9
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
bootJar {
mainClassName = 'com.jasik.momsnaggingapi.MomsNaggingApiApplication'
}
targetCompatibility = JavaVersion.VERSION_1_9