2021-07-23 10:54:37 -04:00
|
|
|
plugins {
|
|
|
|
id "java"
|
2021-10-04 14:04:13 -04:00
|
|
|
id "nebula.integtest" version "8.2.0"
|
2021-12-10 11:14:56 -05:00
|
|
|
id "org.gretty" version "4.0.0"
|
2021-07-23 10:54:37 -04:00
|
|
|
id "war"
|
|
|
|
}
|
|
|
|
|
|
|
|
apply from: "gradle/gretty.gradle"
|
|
|
|
|
|
|
|
repositories {
|
2022-01-17 10:26:21 -05:00
|
|
|
mavenCentral()
|
2022-01-03 19:24:50 -05:00
|
|
|
maven { url "https://repo.spring.io/milestone" }
|
2021-07-23 10:54:37 -04:00
|
|
|
maven { url "https://repo.spring.io/snapshot" }
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2021-12-10 11:14:56 -05:00
|
|
|
implementation platform("org.springframework.security:spring-security-bom:6.0.0-SNAPSHOT")
|
2021-07-23 10:54:37 -04:00
|
|
|
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.slf4j:slf4j-api:1.7.30'
|
|
|
|
implementation 'org.slf4j:slf4j-simple:1.7.30'
|
|
|
|
|
2021-12-10 11:14:56 -05:00
|
|
|
providedCompile "jakarta.servlet:jakarta.servlet-api:5.0.0"
|
|
|
|
providedCompile "org.glassfish.web:jakarta.servlet.jsp.jstl:2.0.0"
|
|
|
|
|
2021-07-23 10:54:37 -04:00
|
|
|
testImplementation "org.springframework:spring-test"
|
|
|
|
testImplementation "org.springframework.security:spring-security-test"
|
|
|
|
testImplementation("org.junit.jupiter:junit-jupiter-api")
|
|
|
|
testImplementation "org.assertj:assertj-core:3.18.0"
|
|
|
|
|
|
|
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
|
|
|
|
|
2022-09-06 14:39:04 -04:00
|
|
|
integTestImplementation "org.seleniumhq.selenium:htmlunit-driver:3.64.0"
|
2021-07-23 10:54:37 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
tasks.withType(Test).configureEach {
|
|
|
|
useJUnitPlatform()
|
2021-12-13 11:04:46 -05:00
|
|
|
outputs.upToDateWhen { false }
|
2021-07-23 10:54:37 -04:00
|
|
|
}
|