0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 03:52:15 +02:00
Anki-Android/settings.gradle.kts
David Allison eed9ca8b4d build: create 'common' module
* Defined as 'Android Library'
* Replaced junit reference with vintage engine
 * to match project
* Removed example unit tests
2024-06-07 20:23:17 +00:00

29 lines
980 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", ":common")