build.gradle
โข
Spring Boot 2.x.x
โข
Spring Security 5.x.x
โข
Spring Web
โข
Spring Boot Dev Tools
โข
Lombok
โข
Thymeleaf
โฆ
thymeleaf
โฆ
thymeleaf-extras-springsecurity
โฆ
thymeleaf-layout-dialect
โข
MySQL Driver
โข
MyBatis Framework
build.gradle
group Id ํ์ธํ ๊ฒ : group = 'com.aloha'
plugins {
id 'java'
id 'war'
id 'org.springframework.boot' version '2.7.17'
id 'io.spring.dependency-management' version '1.0.15.RELEASE'
}
group = 'com.aloha'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '17'
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.3.1'
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.projectlombok:lombok'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:2.3.1'
testImplementation 'org.springframework.security:spring-security-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// ํ์๋ฆฌํ ๋ค์ด์ผ๋ ํธ ๋ ์ด์์
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
}
tasks.named('test') {
useJUnitPlatform()
}
Java
๋ณต์ฌ