2020-08-27 16:47:33 -05:00
|
|
|
plugins {
|
|
|
|
id "java"
|
2021-10-04 15:04:13 -03:00
|
|
|
id "nebula.integtest" version "8.2.0"
|
2021-12-10 10:45:35 -03:00
|
|
|
id "org.gretty" version "4.0.0"
|
2020-08-27 16:47:33 -05:00
|
|
|
id "war"
|
|
|
|
}
|
|
|
|
|
|
|
|
apply from: "gradle/gretty.gradle"
|
|
|
|
|
|
|
|
repositories {
|
2020-11-19 12:32:30 -06:00
|
|
|
jcenter()
|
2020-11-19 12:35:34 -06:00
|
|
|
maven { url "https://repo.spring.io/snapshot" }
|
2020-08-27 16:47:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-12-10 10:45:35 -03:00
|
|
|
implementation platform("org.springframework:spring-framework-bom:6.0.0-SNAPSHOT")
|
|
|
|
implementation platform("org.springframework.security:spring-security-bom:6.0.0-SNAPSHOT")
|
2020-10-28 14:31:00 -05:00
|
|
|
implementation platform("org.junit:junit-bom:5.7.0")
|
2020-08-27 16:47:33 -05:00
|
|
|
|
|
|
|
implementation "org.springframework.security:spring-security-config"
|
|
|
|
implementation "org.springframework.security:spring-security-web"
|
|
|
|
|
2021-12-10 10:45:35 -03:00
|
|
|
providedCompile "jakarta.servlet:jakarta.servlet-api:5.0.0"
|
|
|
|
providedCompile "org.glassfish.web:jakarta.servlet.jsp.jstl:2.0.0"
|
2020-08-27 16:47:33 -05:00
|
|
|
|
2020-10-28 14:34:51 -05:00
|
|
|
testImplementation "org.assertj:assertj-core:3.18.0"
|
2020-08-27 16:47:33 -05: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 14:37:16 -05:00
|
|
|
integTestImplementation "org.seleniumhq.selenium:htmlunit-driver:2.44.0"
|
2020-08-27 16:47:33 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType(Test).configureEach {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|