|
@@ -36,12 +36,7 @@ test {
|
|
|
useJUnitPlatform()
|
|
|
}
|
|
|
|
|
|
-tasks.withType(JavaCompile) {
|
|
|
- options.compilerArgs << '-Xlint:unchecked'
|
|
|
- options.deprecation = true
|
|
|
-}
|
|
|
-
|
|
|
-task runInstallJarLibrary(type:Exec) {
|
|
|
+tasks.register('runInstallJarLibrary', Exec) {
|
|
|
doFirst {
|
|
|
println "its-asn1 library install mvn repository..."
|
|
|
workingDir = file('.')
|
|
@@ -50,3 +45,10 @@ task runInstallJarLibrary(type:Exec) {
|
|
|
}
|
|
|
}
|
|
|
jar.finalizedBy runInstallJarLibrary
|
|
|
+
|
|
|
+compileJava.options.encoding = 'UTF-8'
|
|
|
+tasks.withType(JavaCompile).configureEach {
|
|
|
+ options.compilerArgs << '-Xlint:unchecked'
|
|
|
+ options.deprecation = true
|
|
|
+ options.encoding = 'UTF-8'
|
|
|
+}
|