mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-09 03:52:48 +00:00
Compile Kotlin tasks using JVM 1.8
This commit is contained in:
parent
b6fb063145
commit
6017510fdd
@ -1,3 +1,5 @@
|
|||||||
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||||
|
|
||||||
apply plugin: 'io.spring.convention.spring-module'
|
apply plugin: 'io.spring.convention.spring-module'
|
||||||
apply plugin: 'trang'
|
apply plugin: 'trang'
|
||||||
apply plugin: 'kotlin'
|
apply plugin: 'kotlin'
|
||||||
@ -85,7 +87,7 @@ rncToXsd {
|
|||||||
xslFile = new File(rncDir, 'spring-security.xsl')
|
xslFile = new File(rncDir, 'spring-security.xsl')
|
||||||
}
|
}
|
||||||
|
|
||||||
compileKotlin {
|
tasks.withType(KotlinCompile).configureEach {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
jvmTarget = "1.8"
|
jvmTarget = "1.8"
|
||||||
freeCompilerArgs = ["-Xjsr305=strict"]
|
freeCompilerArgs = ["-Xjsr305=strict"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user