|
@@ -116,6 +116,14 @@ tasks.named('rncToXsd', RncToXsd).configure {
|
|
xslFile = new File(rncDir, 'spring-security.xsl')
|
|
xslFile = new File(rncDir, 'spring-security.xsl')
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+sourceSets {
|
|
|
|
+ main {
|
|
|
|
+ resources {
|
|
|
|
+ srcDir(tasks.named('rncToXsd'))
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
|
|
+
|
|
tasks.withType(KotlinCompile).configureEach {
|
|
tasks.withType(KotlinCompile).configureEach {
|
|
kotlinOptions {
|
|
kotlinOptions {
|
|
languageVersion = "1.3"
|
|
languageVersion = "1.3"
|
|
@@ -125,8 +133,6 @@ tasks.withType(KotlinCompile).configureEach {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-build.dependsOn rncToXsd
|
|
|
|
-
|
|
|
|
compileTestJava {
|
|
compileTestJava {
|
|
exclude "org/springframework/security/config/annotation/web/configurers/saml2/**", "org/springframework/security/config/http/Saml2*"
|
|
exclude "org/springframework/security/config/annotation/web/configurers/saml2/**", "org/springframework/security/config/http/Saml2*"
|
|
}
|
|
}
|