Browse Source

Ignore RestrictedApiCheck for generated files

https://stackoverflow.com/a/53193227
Stefan Niedermann 4 years ago
parent
commit
8a70f22cc3
1 changed files with 3 additions and 0 deletions
  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>