Browse Source

Ignore RestrictedApiCheck for generated files

https://stackoverflow.com/a/53193227
Stefan Niedermann 4 năm trước cách đây
mục cha
commit
8a70f22cc3
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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>