2020-08-27 17:47:33 -04:00
|
|
|
plugins {
|
|
|
|
id "java"
|
2021-10-04 14:04:13 -04:00
|
|
|
id "nebula.integtest" version "8.2.0"
|
|
|
|
id "org.gretty" version "3.0.6"
|
2020-08-27 17:47:33 -04:00
|
|
|
id "war"
|
|
|
|
}
|
|
|
|
|
|
|
|
apply from: "gradle/gretty.gradle"
|
|
|
|
|
|
|
|
repositories {
|
2020-11-19 13:32:30 -05:00
|
|
|
jcenter()
|
2020-11-19 13:35:34 -05:00
|
|
|
maven { url "https://repo.spring.io/snapshot" }
|
2020-08-27 17:47:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-12-10 12:25:44 -05:00
|
|
|
implementation platform("org.springframework:spring-framework-bom:5.3.13")
|
|
|
|
implementation platform("org.springframework.security:spring-security-bom:5.7.0-SNAPSHOT")
|
2020-10-28 15:31:00 -04:00
|
|
|
implementation platform("org.junit:junit-bom:5.7.0")
|
2020-08-27 17:47:33 -04:00
|
|
|
|
|
|
|
implementation "org.springframework.security:spring-security-config"
|
|
|
|
implementation "org.springframework.security:spring-security-web"
|
|
|
|
implementation "javax.servlet.jsp.jstl:javax.servlet.jsp.jstl-api:1.2.2"
|
|
|
|
implementation "org.apache.taglibs:taglibs-standard-jstlel:1.2.5"
|
|
|
|
|
|
|
|
providedCompile "javax.servlet:javax.servlet-api:4.0.1"
|
|
|
|
providedCompile "javax.servlet.jsp:javax.servlet.jsp-api:2.3.3"
|
|
|
|
|
2020-10-28 15:34:51 -04:00
|
|
|
testImplementation "org.assertj:assertj-core:3.18.0"
|
2020-08-27 17:47:33 -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")
|
|
|
|
|
2020-10-28 15:37:16 -04:00
|
|
|
integTestImplementation "org.seleniumhq.selenium:htmlunit-driver:2.44.0"
|
2020-08-27 17:47:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType(Test).configureEach {
|
|
|
|
useJUnitPlatform()
|
2021-12-13 11:04:46 -05:00
|
|
|
outputs.upToDateWhen { false }
|
2020-08-27 17:47:33 -04:00
|
|
|
}
|