瀏覽代碼

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

nieqiurong 6 年之前
父節點
當前提交
34717f696a
共有 1 個文件被更改,包括 2 次插入0 次删除
  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 {