2020-10-28 11:22:20 -04:00
|
|
|
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 {
|
|
|
|
mavenCentral()
|
|
|
|
maven { url "https://repo.spring.io/libs-snapshot" }
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-10-28 12:32:39 -04:00
|
|
|
implementation platform("org.springframework:spring-framework-bom:5.3.0")
|
2020-10-28 12:06:13 -04:00
|
|
|
implementation platform("org.springframework.security:spring-security-bom:5.5.0-SNAPSHOT")
|
2020-10-28 15:31:00 -04:00
|
|
|
implementation platform("org.junit:junit-bom:5.7.0")
|
2020-10-28 11:22:20 -04:00
|
|
|
|
|
|
|
implementation "org.springframework.security:spring-security-config"
|
|
|
|
implementation "org.springframework.security:spring-security-web"
|
|
|
|
implementation "org.springframework:spring-webmvc"
|
|
|
|
implementation "org.thymeleaf:thymeleaf-spring5:3.0.11.RELEASE"
|
|
|
|
|
2020-10-28 15:34:51 -04:00
|
|
|
testImplementation "org.assertj:assertj-core:3.18.0"
|
2020-10-28 11:22:20 -04:00
|
|
|
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")
|
|
|
|
|
|
|
|
integTestImplementation "org.seleniumhq.selenium:htmlunit-driver:2.39.0"
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType(Test).configureEach {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|