소스 검색

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

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 {