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