Преглед изворни кода

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>