Browse Source

编译输出过时方法,保留参数名字.

nieqiurong 6 years ago
parent
commit
34717f696a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      build.gradle

+ 2 - 0
build.gradle

@@ -83,6 +83,8 @@ subprojects {
 
     tasks.withType(JavaCompile) {
         options.encoding = 'UTF-8'
+        options.deprecation = true
+        options.compilerArgs += ["-parameters"]
     }
 
     jar {