mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-20 12:02:16 +02:00
bb0c4a85bf
* version catalog conflict solve * implementing version catalog for stable versioning between modules * implementing version catalog for stable versioning between modules --------- Co-authored-by: abdelrahmanesam <abdelrahmanesam>
29 lines
969 B
Plaintext
29 lines
969 B
Plaintext
pluginManagement {
|
|
repositories {
|
|
google()
|
|
gradlePluginPortal()
|
|
mavenCentral()
|
|
maven(url = "https://jitpack.io") // only needed for the "amazonappstorepublisher" plugin
|
|
}
|
|
resolutionStrategy {
|
|
// TODO try to find another plugin for this functionality?
|
|
eachPlugin {
|
|
if (requested.id.id == "app.brant.amazonappstorepublisher") {
|
|
useModule("com.github.BrantApps.gradle-amazon-app-store-publisher:amazonappstorepublisher:master-SNAPSHOT")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
// TODO enforce repositories declared here, currently it clashes with robolectricDownloader.gradle
|
|
// which uses a local maven repository
|
|
// repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven(url = "https://jitpack.io")
|
|
}
|
|
}
|
|
|
|
include(":lint-rules", ":api", ":AnkiDroid", ":testlib") |