Don't load all of groovy's tasks, just groovy.

This commit is contained in:
Dawid Weiss 2020-01-10 12:51:46 +01:00
parent 39a5323999
commit b4d26f94d3
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,8 @@ configure(rootProject) {
task validateSourcePatterns() {
doFirst {
ant.taskdef(
resource: 'org/codehaus/groovy/antlib.xml',
name: "groovy",
class: "org.codehaus.groovy.ant.Groovy",
classpath: configurations.checkSourceDeps.asPath)
ant.groovy(src: project(":lucene").file("tools/src/groovy/check-source-patterns.groovy"))