-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
74 lines (53 loc) · 1.82 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
plugins {
id 'org.springframework.boot' version '2.5.6'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.mokpo.spring'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = "17"
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
// test
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.1'
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.10.2'
//db
runtimeOnly 'mysql:mysql-connector-java'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
// providedRuntime "org.springframework.boot:spring-boot-starter-tomcat"
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
// implementation group: 'org.javassist', name: 'javassist', version: '3.15.0-GA'
// runtimeOnly 'org.mariadb.jdbc:mariadb-java-client' // MariaDB
/* MapStruct */
implementation 'org.mapstruct:mapstruct:1.5.3.Final'
compileOnly 'org.projectlombok:lombok-mapstruct-binding:0.2.0'
/* MapStruct */
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.3.Final'
// testCompile group: 'junit', name: 'junit', version: '4.12'
}
/*
bootWar {
archiveBaseName = 'tonight-spark-'
archiveFileName = 'back.war'
archiveVersion = "0.0.1"
}*/
/*
bootJar {
archiveBaseName = 'zep-sight-'
archiveFileName = 'back.jar'
archiveVersion = "0.0.1"
}*/
targetCompatibility = JavaVersion.VERSION_1_9
test {
useJUnitPlatform()
}
jar {
enabled = false
}