12345678910111213141516171819202122232425262728293031323334 |
- 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-webflux'
- 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()
- }
|