Skip to content

Commit ab4b797

Browse files
author
Anderson Lee
committed
4th commit
1 parent 4313e26 commit ab4b797

File tree

1 file changed

+28
-26
lines changed

1 file changed

+28
-26
lines changed

build.gradle

Lines changed: 28 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
1-
buildscript {
2-
ext {
3-
springBootVersion = '2.4.0.RELEASE'
4-
}
5-
repositories {
6-
mavenCentral()
7-
jcenter()
8-
}
9-
dependencies {
10-
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
11-
}
12-
}
13-
14-
151
plugins {
16-
id 'org.springframework.boot' version '2.4.0'
2+
id 'org.springframework.boot' version '2.4.1' // RELEASE 삭제
3+
id 'io.spring.dependency-management' version '1.0.10.RELEASE'
4+
id 'java'
175
}
186

19-
apply plugin: 'java'
20-
apply plugin: 'eclipse'
21-
apply plugin: 'io.spring.dependency-management'
22-
23-
group 'com.midi79'
24-
version '1.0-SNAPSHOT'
7+
group 'com.jojoldu.book'
8+
version '1.0.4-SNAPSHOT-'+new Date().format("yyyyMMddHHmmss")
9+
sourceCompatibility = 1.8
2510

2611
repositories {
2712
mavenCentral()
2813
jcenter()
2914
}
3015

31-
dependencies {
32-
compile('org.springframework.boot:spring-boot-starter-web')
33-
testCompile('org.springframework.boot:spring-boot-starter-test')
34-
}
35-
16+
// junit5
3617
test {
3718
useJUnitPlatform()
19+
}
20+
21+
dependencies {
22+
implementation('org.springframework.boot:spring-boot-starter-web')
23+
implementation('org.springframework.boot:spring-boot-starter-mustache')
24+
25+
// lombok
26+
implementation('org.projectlombok:lombok')
27+
annotationProcessor('org.projectlombok:lombok')
28+
testImplementation('org.projectlombok:lombok')
29+
testAnnotationProcessor('org.projectlombok:lombok')
30+
31+
implementation('org.springframework.boot:spring-boot-starter-data-jpa')
32+
implementation("org.mariadb.jdbc:mariadb-java-client")
33+
implementation('com.h2database:h2')
34+
35+
implementation('org.springframework.boot:spring-boot-starter-oauth2-client')
36+
implementation('org.springframework.session:spring-session-jdbc')
37+
38+
testImplementation('org.springframework.boot:spring-boot-starter-test')
39+
testImplementation("org.springframework.security:spring-security-test")
3840
}

0 commit comments

Comments
 (0)