Files
spring-authorization-server/samples/default-authorizationserver/samples-default-authorizationserver.gradle
Steve Riesenberg 72c2e15487 Upgrade build to Gradle 7
Closes gh-572
2022-04-19 13:17:27 -05:00

33 lines
993 B
Groovy

plugins {
id "org.springframework.boot" version "2.5.12"
id "io.spring.dependency-management" version "1.0.11.RELEASE"
id "java"
}
group = project.rootProject.group
version = project.rootProject.version
sourceCompatibility = "11"
repositories {
mavenCentral()
}
dependencies {
implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-security"
implementation "org.springframework.boot:spring-boot-starter-jdbc"
implementation project(":spring-security-oauth2-authorization-server")
runtimeOnly "com.h2database:h2"
testImplementation "org.springframework.boot:spring-boot-starter-test"
testImplementation "org.junit.jupiter:junit-jupiter"
testImplementation "junit:junit"
testImplementation "org.junit.vintage:junit-vintage-engine"
testImplementation "org.springframework.security:spring-security-test"
testImplementation "net.sourceforge.htmlunit:htmlunit"
}
tasks.named("test") {
useJUnitPlatform()
}