build: cleanup dependency resolution and remove unused dependency

This commit is contained in:
Harsh Shandilya 2021-08-05 21:25:13 +05:30
parent d65e14b2c8
commit 450d4836c5
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 10 additions and 6 deletions

View file

@ -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<com.diffplug.gradle.spotless.SpotlessExtension> {
kotlin {

View file

@ -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

View file

@ -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")