Commit d1e5a906 authored by Administrator's avatar Administrator

fix encoding on windows

parent 9dd3ba31
import java.nio.charset.StandardCharsets
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
......@@ -25,6 +27,11 @@ buildscript {
}
allprojects {
tasks.withType(JavaCompile) {
// 在windows上面,可能会用gbk编译项目。导致乱码
options.encoding(StandardCharsets.UTF_8.name())
}
repositories {
repositories {
maven {
......@@ -47,4 +54,5 @@ task clean(type: Delete) {
ext {
ratelEngineVersionCode = 5
ratelEngineVersion = "1.2.2"
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment