31 lines
1.0 KiB
Groovy
31 lines
1.0 KiB
Groovy
plugins {
|
|
id "java"
|
|
}
|
|
|
|
group = project.rootProject.group
|
|
version = project.rootProject.version
|
|
sourceCompatibility = "11"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation platform("org.springframework.boot:spring-boot-dependencies:2.5.12")
|
|
implementation "org.springframework.boot:spring-boot-starter-web"
|
|
implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
|
|
implementation "org.springframework.boot:spring-boot-starter-security"
|
|
implementation "org.springframework.boot:spring-boot-starter-oauth2-client"
|
|
implementation "org.springframework.boot:spring-boot-starter-oauth2-resource-server"
|
|
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
|
|
implementation "org.thymeleaf.extras:thymeleaf-extras-springsecurity5"
|
|
implementation project(":spring-security-oauth2-authorization-server")
|
|
runtimeOnly "com.h2database:h2"
|
|
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
|
testImplementation "org.springframework.security:spring-security-test"
|
|
}
|
|
|
|
tasks.named("test") {
|
|
useJUnitPlatform()
|
|
}
|