28 lines
475 B
Groovy
28 lines
475 B
Groovy
|
apply plugin: 'groovy'
|
||
|
|
||
|
dependencies {
|
||
|
implementation libs.groovy.core
|
||
|
testImplementation libs.groovy.core
|
||
|
}
|
||
|
|
||
|
compileGroovy {
|
||
|
}
|
||
|
|
||
|
compileTestGroovy {
|
||
|
}
|
||
|
|
||
|
tasks.withType(GroovyCompile) {
|
||
|
if (!options.compilerArgs.contains("-processor")) {
|
||
|
options.compilerArgs.add('-proc:none')
|
||
|
}
|
||
|
}
|
||
|
|
||
|
task groovydocJar(type: Jar, dependsOn: 'groovydoc') {
|
||
|
from groovydoc.destinationDir
|
||
|
archiveClassifier.set('groovydoc')
|
||
|
}
|
||
|
|
||
|
artifacts {
|
||
|
archives groovydocJar
|
||
|
}
|