0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Anki-Android/settings.gradle.kts
AbdelrahmanEsam bb0c4a85bf
Migrate version catalog (#15966)
* 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>
2024-03-27 00:53:28 +00:00

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