From ca6218a511eec8f59620b40894fe1c47a64555d4 Mon Sep 17 00:00:00 2001 From: Louis CAD Date: Thu, 22 Sep 2022 00:55:14 +0200 Subject: [PATCH] Use dependencyResolutionManagement --- build.gradle.kts | 2 -- settings.gradle.kts | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 24d14611..c8056fd3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,7 +8,6 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile buildscript { - repositories { setupForProject() } dependencies { classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:_") classpath(Android.tools.build.gradlePlugin) @@ -31,7 +30,6 @@ doctor { // Top-level build file where you can add configuration options common to all sub-projects/modules. allprojects { - repositories { setupForProject() } afterEvaluate { // Remove log pollution until Android support in KMP improves. project.extensions.findByType()?.let { kmpExt -> diff --git a/settings.gradle.kts b/settings.gradle.kts index 661f756e..70974e84 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -25,6 +25,12 @@ gradleEnterprise { } } +dependencyResolutionManagement { + repositories { + google() + mavenCentral() + } +} include {