remove indy variant selection

This commit is contained in:
Jörg Prante 2021-12-12 20:29:06 +01:00
parent d0bc101bb6
commit 5b21e376cd
2 changed files with 3 additions and 9 deletions

View file

@ -2,8 +2,9 @@ group = 'org.xbib.gradle.plugin'
name = 'gradle-plugins' name = 'gradle-plugins'
version = 0.0.1 version = 0.0.1
org.gradle.warning.mode = ALL
gradle.wrapper.version = 7.3 gradle.wrapper.version = 7.3
groovy-git.version = 2.0.1 groovy-git.version = 2.1.0
rpm.version = 2.1.0 rpm.version = 2.1.0
spock.version = 2.0-groovy-3.0 spock.version = 2.0-groovy-3.0
junit4.version = 4.13.2 junit4.version = 4.13.2

View file

@ -1,7 +1,7 @@
apply plugin: 'groovy' apply plugin: 'groovy'
dependencies { dependencies {
implementation "org.codehaus.groovy:groovy:${project.property('groovy.version')}:indy" implementation "org.codehaus.groovy:groovy:${project.property('groovy.version')}"
} }
compileGroovy { compileGroovy {
@ -19,16 +19,9 @@ tasks.withType(GroovyCompile) {
if (!options.compilerArgs.contains("-processor")) { if (!options.compilerArgs.contains("-processor")) {
options.compilerArgs << '-proc:none' options.compilerArgs << '-proc:none'
} }
groovyOptions.optimizationOptions.indy = true
} }
task groovydocJar(type: Jar, dependsOn: 'groovydoc') { task groovydocJar(type: Jar, dependsOn: 'groovydoc') {
from groovydoc.destinationDir from groovydoc.destinationDir
archiveClassifier.set('javadoc') archiveClassifier.set('javadoc')
} }
configurations.all {
resolutionStrategy {
force "org.codehaus.groovy:groovy:${project.property('groovy.version')}:indy"
}
}