1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Idiomatic Kotlin DSL for configuring HTTP security

Issue: gh-5558
This commit is contained in:
Eleftheria Stein-Kousathana
2020-01-07 12:08:43 -05:00
committed by GitHub
parent e306482a96
commit 2df1099da5
88 changed files with 9773 additions and 2 deletions
+10
View File
@@ -1,5 +1,6 @@
apply plugin: 'io.spring.convention.spring-module'
apply plugin: 'trang'
apply plugin: 'kotlin'
dependencies {
// NB: Don't add other compile time dependencies to the config module as this breaks tooling
@@ -27,6 +28,8 @@ dependencies {
optional'org.springframework:spring-web'
optional'org.springframework:spring-webflux'
optional'org.springframework:spring-websocket'
optional 'org.jetbrains.kotlin:kotlin-reflect'
optional 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
provided 'javax.servlet:javax.servlet-api'
@@ -84,4 +87,11 @@ rncToXsd {
xslFile = new File(rncDir, 'spring-security.xsl')
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = ["-Xjsr305=strict"]
}
}
build.dependsOn rncToXsd