Skip to content

Commit

Permalink
Refactor build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bubelov committed Jan 20, 2025
1 parent 65b92d8 commit 55ced93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
1 change: 0 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
plugins {
// this is necessary to avoid the plugins to be loaded multiple times
// in each subproject's classloader
//alias(libs.plugins.kotlinMultiplatform) apply false
alias(libs.plugins.androidApplication) apply false
alias(libs.plugins.kotlinAndroid) apply false
}
19 changes: 6 additions & 13 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
rootProject.name = "btc-map"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")

pluginManagement {
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
content {
includeGroupByRegex("com\\.android.*")
includeGroupByRegex("com\\.google.*")
includeGroupByRegex("androidx.*")
}
}
mavenCentral()
Expand All @@ -16,16 +15,10 @@ pluginManagement {
}

dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google {
mavenContent {
includeGroupAndSubgroups("androidx")
includeGroupAndSubgroups("com.android")
includeGroupAndSubgroups("com.google")
}
}
google()
mavenCentral()
// TODO get rid of it. It's still needed for charts
maven("https://jitpack.io")
}
}
Expand Down

0 comments on commit 55ced93

Please sign in to comment.