35 lines
1.0 KiB
Groovy
35 lines
1.0 KiB
Groovy
plugins {
|
|
id 'java'
|
|
alias(libs.plugins.io.spring.dependency.management)
|
|
alias(libs.plugins.org.springframework.boot)
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url "https://repo.spring.io/milestone" }
|
|
maven { url "https://repo.spring.io/snapshot" }
|
|
}
|
|
|
|
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.springframework.boot:spring-boot-starter-mail'
|
|
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
testImplementation 'com.icegreen:greenmail-junit5:2.0.1'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
runtimeOnly 'org.springframework.boot:spring-boot-docker-compose'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|