2020-04-25 21:30:14 +03:00
|
|
|
pluginManagement {
|
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
2022-03-04 17:58:31 +03:00
|
|
|
val regex = "com.android.(library|application)".toRegex()
|
|
|
|
if (regex matches requested.id.id) {
|
2020-04-25 21:30:14 +03:00
|
|
|
useModule("com.android.tools.build:gradle:${requested.version}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
gradlePluginPortal()
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
2022-11-26 16:11:15 +03:00
|
|
|
maven(url = "https://www.jitpack.io")
|
2020-04-25 21:30:14 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-03-04 17:58:31 +03:00
|
|
|
dependencyResolutionManagement {
|
|
|
|
versionCatalogs {
|
|
|
|
create("kotlinx") {
|
|
|
|
from(files("gradle/kotlinx.versions.toml"))
|
|
|
|
}
|
|
|
|
create("androidx") {
|
|
|
|
from(files("gradle/androidx.versions.toml"))
|
|
|
|
}
|
2022-04-23 00:29:24 +03:00
|
|
|
create("compose") {
|
|
|
|
from(files("gradle/compose.versions.toml"))
|
|
|
|
}
|
2022-03-04 17:58:31 +03:00
|
|
|
}
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
google()
|
|
|
|
maven(url = "https://www.jitpack.io")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-01-23 15:35:58 +03:00
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
|
2024-01-15 22:31:22 +03:00
|
|
|
rootProject.name = "Mihon"
|
2020-01-29 06:48:02 +03:00
|
|
|
include(":app")
|
2024-01-29 12:11:28 +03:00
|
|
|
include(":core-metadata")
|
|
|
|
include(":core:common")
|
2023-01-21 18:37:07 +03:00
|
|
|
include(":data")
|
2023-01-22 18:12:29 +03:00
|
|
|
include(":domain")
|
2024-01-29 12:11:28 +03:00
|
|
|
include(":i18n")
|
|
|
|
include(":macrobenchmark")
|
2023-01-27 01:53:24 +03:00
|
|
|
include(":presentation-core")
|
2024-01-29 12:11:28 +03:00
|
|
|
include(":presentation-widget")
|
|
|
|
include(":source-api")
|
2023-02-27 00:16:49 +03:00
|
|
|
include(":source-local")
|