From b4ac21152b7cbc2b0c0c8fbdb64bba29f149f643 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 22 Sep 2021 03:19:19 -0700 Subject: [PATCH] Remove `mavenLocal()` Summary: Having mavenLocal specified as part of the build is creating confusion as stale artifacts could be used inside the build. This Diff is attempting to remove. Developers that need it for local development can still re-add it. Changelog: [Internal] [Changed] - Remove mavenLocal() Reviewed By: ShikaSD Differential Revision: D31057038 fbshipit-source-id: 90335047a0ba5a537ce347e4c1592bfe756d4135 --- build.gradle.kts | 2 -- settings.gradle.kts | 1 - template/android/build.gradle | 1 - 3 files changed, 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8c17661ba0f..4318c6d00e6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -7,7 +7,6 @@ buildscript { repositories { - mavenLocal() google() mavenCentral() } @@ -31,7 +30,6 @@ allprojects { // All of Detox's artifacts are provided via the npm module url = uri("$rootDir/node_modules/detox/Detox-android") } - mavenLocal() google() mavenCentral() } diff --git a/settings.gradle.kts b/settings.gradle.kts index 2075d4e9699..045b88e9ac0 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -8,7 +8,6 @@ pluginManagement { repositories { gradlePluginPortal() - mavenLocal() google() } } diff --git a/template/android/build.gradle b/template/android/build.gradle index 650989507d2..758d1d448ab 100644 --- a/template/android/build.gradle +++ b/template/android/build.gradle @@ -22,7 +22,6 @@ buildscript { allprojects { repositories { mavenCentral() - mavenLocal() maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url("$rootDir/../node_modules/react-native/android")