53 lines
1.4 KiB
Groovy
Raw Normal View History

2020-10-27 15:53:58 -05:00
plugins {
id "io.freefair.aspectj.post-compile-weaving" version "5.2.1"
id "java"
}
repositories {
mavenCentral()
2022-01-14 13:39:45 -06:00
maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/snapshot" }
2020-10-27 15:53:58 -05:00
}
2021-10-08 15:38:13 -03:00
compileJava {
sourceCompatibility "1.8"
targetCompatibility "1.8"
}
compileTestJava {
sourceCompatibility "1.8"
targetCompatibility "1.8"
}
2020-10-27 15:53:58 -05:00
dependencies {
aspect platform("org.springframework:spring-framework-bom:5.3.0")
2020-10-27 15:53:58 -05:00
aspect platform("org.springframework.security:spring-security-bom:5.4.0-SNAPSHOT")
aspect "org.springframework.security:spring-security-aspects"
2020-10-28 11:32:39 -05:00
implementation platform("org.springframework:spring-framework-bom:5.3.0")
implementation platform("org.springframework.security:spring-security-bom:5.5.0-SNAPSHOT")
2020-10-28 14:31:00 -05:00
implementation platform("org.junit:junit-bom:5.7.0")
2020-10-27 15:53:58 -05:00
implementation "org.springframework.security:spring-security-config"
2021-10-04 15:04:13 -03:00
runtimeOnly "org.springframework.security:spring-security-aspects"
2020-10-27 15:53:58 -05:00
2020-10-28 14:34:51 -05:00
testImplementation "org.assertj:assertj-core:3.18.0"
2020-10-27 15:53:58 -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"
}
tasks.withType(Test).configureEach {
useJUnitPlatform()
outputs.upToDateWhen { false }
2020-10-27 15:53:58 -05:00
}
//aspectj {
// version = aspectjVersion
//}