Upgrade build to Gradle 7
Closes gh-572
This commit is contained in:
committed by
Steve Riesenberg
parent
00faf44554
commit
72c2e15487
@@ -1,13 +1,32 @@
|
||||
apply plugin: 'io.spring.convention.spring-sample-boot'
|
||||
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 {
|
||||
compile 'org.springframework.boot:spring-boot-starter-web'
|
||||
compile 'org.springframework.boot:spring-boot-starter-security'
|
||||
compile 'org.springframework.boot:spring-boot-starter-jdbc'
|
||||
compile project(':spring-security-oauth2-authorization-server')
|
||||
runtimeOnly 'com.h2database:h2'
|
||||
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"
|
||||
|
||||
testCompile 'org.springframework.boot:spring-boot-starter-test'
|
||||
testCompile 'org.springframework.security:spring-security-test'
|
||||
testCompile 'net.sourceforge.htmlunit:htmlunit'
|
||||
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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user