diff --git a/android/app/build.gradle b/android/app/build.gradle index 02247e61..cf88a7d5 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -251,6 +251,10 @@ android { } } + lintOptions { + checkReleaseBuilds false + } + // applicationVariants are e.g. debug, release applicationVariants.all { variant -> variant.outputs.each { output -> diff --git a/android/build.gradle b/android/build.gradle index 4db49da6..a6d1359c 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -39,6 +39,15 @@ allprojects { excludeGroup "com.facebook.react" } } + all { ArtifactRepository repo -> + if (repo instanceof MavenArtifactRepository) { + def url = repo.url.toString() + if (url.startsWith('https://jcenter.bintray.com/')) { + project.logger.lifecycle "Repository ${repo.url} dropped" + remove repo + } + } + } maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url("$rootDir/../node_modules/react-native/android")