Skip to content

Commit

Permalink
Use dependencyResolutionManagement
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisCAD committed Sep 21, 2022
1 parent a480d0e commit ca6218a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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<KotlinMultiplatformExtension>()?.let { kmpExt ->
Expand Down
6 changes: 6 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ gradleEnterprise {
}
}

dependencyResolutionManagement {
repositories {
google()
mavenCentral()
}
}


include {
Expand Down

0 comments on commit ca6218a

Please sign in to comment.