mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-05 05:35:07 +01:00
12e41b6e6f
Move Widget to seperate module - Create a core module for presentation. Widget and App will share some resources and hopefully composables
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
pluginManagement {
|
|
resolutionStrategy {
|
|
eachPlugin {
|
|
val regex = "com.android.(library|application)".toRegex()
|
|
if (regex matches requested.id.id) {
|
|
useModule("com.android.tools.build:gradle:${requested.version}")
|
|
}
|
|
}
|
|
}
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
mavenCentral()
|
|
maven(url = "https://www.jitpack.io")
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
versionCatalogs {
|
|
create("kotlinx") {
|
|
from(files("gradle/kotlinx.versions.toml"))
|
|
}
|
|
create("androidx") {
|
|
from(files("gradle/androidx.versions.toml"))
|
|
}
|
|
create("compose") {
|
|
from(files("gradle/compose.versions.toml"))
|
|
}
|
|
}
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
maven(url = "https://www.jitpack.io")
|
|
}
|
|
}
|
|
|
|
rootProject.name = "Tachiyomi"
|
|
include(":app")
|
|
include(":i18n")
|
|
include(":source-api")
|
|
include(":core")
|
|
include(":macrobenchmark")
|
|
include(":data")
|
|
include(":domain")
|
|
include(":presentation-widget")
|
|
include(":presentation-core")
|