mihon/settings.gradle.kts

62 lines
1.6 KiB
Text
Raw Normal View History

2020-04-25 21:30:14 +03:00
pluginManagement {
resolutionStrategy {
eachPlugin {
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()
maven(url = "https://www.jitpack.io")
2020-04-25 21:30:14 +03: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 21:30:14 +03:00
}
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")
}
}
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
2024-01-15 22:31:22 +03:00
rootProject.name = "Mihon"
include(":app")
2024-01-29 12:11:28 +03:00
include(":core-metadata")
include(":core:common")
include(":data")
include(":domain")
2024-01-29 12:11:28 +03:00
include(":i18n")
include(":macrobenchmark")
include(":presentation-core")
2024-01-29 12:11:28 +03:00
include(":presentation-widget")
include(":source-api")
include(":source-local")