53 lines
1.4 KiB
Groovy
53 lines
1.4 KiB
Groovy
plugins {
|
|
id "io.freefair.aspectj.post-compile-weaving" version "5.2.1"
|
|
id "java"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url "https://repo.spring.io/milestone" }
|
|
maven { url "https://repo.spring.io/snapshot" }
|
|
}
|
|
|
|
compileJava {
|
|
sourceCompatibility "1.8"
|
|
targetCompatibility "1.8"
|
|
}
|
|
|
|
compileTestJava {
|
|
sourceCompatibility "1.8"
|
|
targetCompatibility "1.8"
|
|
}
|
|
|
|
dependencies {
|
|
aspect platform("org.springframework:spring-framework-bom:5.3.0")
|
|
aspect platform("org.springframework.security:spring-security-bom:5.4.0-SNAPSHOT")
|
|
aspect "org.springframework.security:spring-security-aspects"
|
|
|
|
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"
|
|
|
|
runtimeOnly "org.springframework.security:spring-security-aspects"
|
|
|
|
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()
|
|
outputs.upToDateWhen { false }
|
|
}
|
|
|
|
|
|
//aspectj {
|
|
// version = aspectjVersion
|
|
//}
|
|
|