36 lines
1.0 KiB
Groovy
36 lines
1.0 KiB
Groovy
|
plugins {
|
||
|
id "java"
|
||
|
id "nebula.integtest" version "7.0.9"
|
||
|
id "org.gretty" version "3.0.3"
|
||
|
id "war"
|
||
|
}
|
||
|
|
||
|
apply from: "gradle/gretty.gradle"
|
||
|
|
||
|
repositories {
|
||
|
jcenter()
|
||
|
maven { url "https://repo.spring.io/snapshot" }
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation platform("org.springframework:spring-framework-bom:5.3.0")
|
||
|
implementation platform("org.springframework.security:spring-security-bom:5.5.0-SNAPSHOT")
|
||
|
implementation platform("org.junit:junit-bom:5.7.0")
|
||
|
|
||
|
implementation "org.springframework.security:spring-security-config"
|
||
|
implementation "org.springframework.security:spring-security-web"
|
||
|
implementation "org.springframework:spring-webmvc"
|
||
|
implementation "org.apache.httpcomponents:httpclient:4.5.13"
|
||
|
|
||
|
testImplementation "org.assertj:assertj-core:3.18.0"
|
||
|
testImplementation "org.springframework:spring-test"
|
||
|
testImplementation "org.springframework.security:spring-security-test"
|
||
|
testImplementation("org.junit.jupiter:junit-jupiter-api")
|
||
|
|
||
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
|
||
|
}
|
||
|
|
||
|
tasks.withType(Test).configureEach {
|
||
|
useJUnitPlatform()
|
||
|
}
|