|
@@ -39,7 +39,7 @@ test {
|
|
useJUnitPlatform()
|
|
useJUnitPlatform()
|
|
}
|
|
}
|
|
|
|
|
|
-task runInstallJarLibrary(type:Exec) {
|
|
|
|
|
|
+tasks.register('runInstallJarLibrary', Exec) {
|
|
doFirst {
|
|
doFirst {
|
|
println "evps-common library install mvn repository..."
|
|
println "evps-common library install mvn repository..."
|
|
workingDir = file('.')
|
|
workingDir = file('.')
|
|
@@ -49,7 +49,9 @@ task runInstallJarLibrary(type:Exec) {
|
|
}
|
|
}
|
|
jar.finalizedBy runInstallJarLibrary
|
|
jar.finalizedBy runInstallJarLibrary
|
|
|
|
|
|
-tasks.withType(JavaCompile) {
|
|
|
|
|
|
+compileJava.options.encoding = 'UTF-8'
|
|
|
|
+tasks.withType(JavaCompile).configureEach {
|
|
options.compilerArgs << '-Xlint:unchecked'
|
|
options.compilerArgs << '-Xlint:unchecked'
|
|
options.deprecation = true
|
|
options.deprecation = true
|
|
|
|
+ options.encoding = 'UTF-8'
|
|
}
|
|
}
|