Skip to content

Commit 4ebfa2c

Browse files
erichaagdevmarcusdacoregio
authored andcommitted
Use lazy API to configure rncToXsd task
This avoids configuring the task eagerly.
1 parent 3feb809 commit 4ebfa2c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/spring-security-config.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2+
import trang.RncToXsd
23

34
apply plugin: 'io.spring.convention.spring-module'
45
apply plugin: 'trang'
@@ -109,7 +110,7 @@ dependencies {
109110
testRuntimeOnly 'org.hsqldb:hsqldb'
110111
}
111112

112-
rncToXsd {
113+
tasks.named('rncToXsd', RncToXsd).configure {
113114
rncDir = file('src/main/resources/org/springframework/security/config/')
114115
xsdDir = rncDir
115116
xslFile = new File(rncDir, 'spring-security.xsl')

0 commit comments

Comments
 (0)