diff --git a/build.gradle.kts b/build.gradle.kts index 7ef9dd33..8e368fbd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -24,11 +24,6 @@ group = "dev.msfjarvis.claw" version = "1.0" allprojects { - repositories { - mavenCentral() - maven { url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev") } - google() - } apply(plugin = "com.diffplug.spotless") configure { kotlin { diff --git a/common/build.gradle.kts b/common/build.gradle.kts index dd588034..98a43911 100644 --- a/common/build.gradle.kts +++ b/common/build.gradle.kts @@ -30,7 +30,7 @@ kotlin { implementation("com.alialbaali.kamel:kamel-image:0.2.1") } } - val commonTest by getting { dependencies { implementation(kotlin("test")) } } + val commonTest by getting val androidMain by getting { dependencies { implementation(libs.androidx.browser) } } val androidTest by getting { dependsOn(androidAndroidTestRelease) } val desktopMain by getting diff --git a/settings.gradle.kts b/settings.gradle.kts index db9eacb8..aba46dba 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -7,6 +7,15 @@ pluginManagement { } } +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + mavenCentral() + maven { url = uri("https://maven.pkg.jetbrains.space/public/p/compose/dev") } + google() + } +} + rootProject.name = "Claw" enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")