Declare maven repos in dependencyResolutionManagement
This commit is contained in:
parent
d4055ea252
commit
9424de9f8f
3 changed files with 9 additions and 10 deletions
|
@ -82,12 +82,6 @@ project.ext {
|
|||
}
|
||||
|
||||
subprojects {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
google()
|
||||
maven { url 'https://jitpack.io' }
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy.dependencySubstitution {
|
||||
substitute module("androidx.core:core") using module("androidx.core:core:${versions.androidxCore}")
|
||||
|
|
|
@ -7,10 +7,6 @@ application {
|
|||
mainClass = "app.k9mail.cli.html.cleaner.MainKt"
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':app:html-cleaner')
|
||||
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven { url 'https://jitpack.io' }
|
||||
}
|
||||
}
|
||||
|
||||
include ':app:k9mail'
|
||||
include ':app:ui:base'
|
||||
include ':app:ui:setup'
|
||||
|
|
Loading…
Reference in a new issue