34 lines
903 B
Groovy
34 lines
903 B
Groovy
plugins {
|
|
id "org.springframework.boot" version "3.4.3"
|
|
id "io.spring.dependency-management" version "1.1.0"
|
|
id "java"
|
|
}
|
|
|
|
group = project.rootProject.group
|
|
version = project.rootProject.version
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_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-web"
|
|
implementation "org.springframework.boot:spring-boot-starter-security"
|
|
implementation project(":spring-security-oauth2-authorization-server")
|
|
|
|
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
|
testImplementation "org.springframework.security:spring-security-test"
|
|
testImplementation "org.junit.jupiter:junit-jupiter"
|
|
testImplementation "org.htmlunit:htmlunit"
|
|
}
|
|
|
|
tasks.named("test") {
|
|
useJUnitPlatform()
|
|
}
|