31 lines
870 B
Groovy
31 lines
870 B
Groovy
subprojects {
|
|
apply plugin: 'groovy'
|
|
|
|
dependencies {
|
|
compile 'org.codehaus.groovy:groovy:2.4.15'
|
|
compile 'org.codehaus.groovy:groovy-jsr223:2.4.15'
|
|
compile 'org.codehaus.groovy:groovy-json:2.4.15'
|
|
}
|
|
|
|
compileGroovy {
|
|
groovyOptions.optimizationOptions.indy = true
|
|
sourceCompatibility = project.sourceCompatibility
|
|
targetCompatibility = project.targetCompatibility
|
|
options.compilerArgs += project.compilerArgs
|
|
options.deprecation = true
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
compileJava {
|
|
sourceCompatibility = project.sourceCompatibility
|
|
targetCompatibility = project.targetCompatibility
|
|
options.compilerArgs += project.compilerArgs
|
|
options.deprecation = true
|
|
options.encoding = 'UTF-8'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
}
|