HelloSpringMVC/build.gradle
djmil 6740cb9faf SpringSecurity
- secure endpoint
- login page
- in-memory user credentials
- tests
2023-07-28 11:44:25 +02:00

31 lines
725 B
Groovy

plugins {
id 'java'
id 'org.springframework.boot' version '3.1.2'
id 'io.spring.dependency-management' version '1.1.2'
}
group = 'djmil'
version = '0.0.1-SNAPSHOT'
java {
sourceCompatibility = '20'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-security'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
}
tasks.named('test') {
useJUnitPlatform()
}