fix(build): tweak repository settings
This commit is contained in:
parent
30e3b1656c
commit
e58151e971
2 changed files with 5 additions and 6 deletions
|
@ -28,7 +28,7 @@ dependencyResolutionManagement {
|
||||||
forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }
|
forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }
|
||||||
filter { includeModule("com.android.tools", "r8") }
|
filter { includeModule("com.android.tools", "r8") }
|
||||||
}
|
}
|
||||||
mavenCentral()
|
mavenCentral { mavenContent { releasesOnly() } }
|
||||||
}
|
}
|
||||||
versionCatalogs {
|
versionCatalogs {
|
||||||
maybeCreate("libs").apply {
|
maybeCreate("libs").apply {
|
||||||
|
|
|
@ -35,7 +35,7 @@ pluginManagement {
|
||||||
forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }
|
forRepository { maven("https://storage.googleapis.com/r8-releases/raw") }
|
||||||
filter { includeModule("com.android.tools", "r8") }
|
filter { includeModule("com.android.tools", "r8") }
|
||||||
}
|
}
|
||||||
mavenCentral()
|
mavenCentral { mavenContent { releasesOnly() } }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,9 +56,8 @@ gradleEnterprise {
|
||||||
dependencyResolutionManagement {
|
dependencyResolutionManagement {
|
||||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||||
repositories {
|
repositories {
|
||||||
exclusiveContent {
|
google {
|
||||||
forRepository { google() }
|
content {
|
||||||
filter {
|
|
||||||
includeGroupByRegex("androidx.*")
|
includeGroupByRegex("androidx.*")
|
||||||
includeGroupByRegex("com.android.*")
|
includeGroupByRegex("com.android.*")
|
||||||
includeGroup("com.google.android.gms")
|
includeGroup("com.google.android.gms")
|
||||||
|
@ -73,7 +72,7 @@ dependencyResolutionManagement {
|
||||||
name = "Compose Compiler Snapshots"
|
name = "Compose Compiler Snapshots"
|
||||||
content { includeGroup("androidx.compose.compiler") }
|
content { includeGroup("androidx.compose.compiler") }
|
||||||
}
|
}
|
||||||
mavenCentral()
|
mavenCentral { mavenContent { releasesOnly() } }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue