浏览代码

Ignore RestrictedApiCheck for generated files

https://stackoverflow.com/a/53193227
Stefan Niedermann 4 年之前
父节点
当前提交
8a70f22cc3
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      lint.xml

+ 3 - 0
lint.xml

@@ -48,4 +48,7 @@
         <ignore path="**/bouncycastle/est/jcajce/*.class" />
     </issue>
 
+    <issue id="RestrictedApi" severity="error">
+        <ignore path="build" />
+    </issue>
 </lint>