mirror of
https://github.com/breezy-weather/breezy-weather.git
synced 2025-10-18 23:43:40 +00:00
46 lines
1.3 KiB
Kotlin
46 lines
1.3 KiB
Kotlin
pluginManagement {
|
|
resolutionStrategy {
|
|
eachPlugin {
|
|
val regex = "com.android.(library|application)".toRegex()
|
|
if (regex matches requested.id.id) {
|
|
useModule("com.android.tools.build:gradle:${requested.version}")
|
|
}
|
|
if (requested.id.id == "dagger.hilt.android.plugin") {
|
|
useModule("com.google.dagger:hilt-android-gradle-plugin:${requested.version}")
|
|
}
|
|
}
|
|
}
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
mavenCentral()
|
|
maven(url = "https://www.jitpack.io")
|
|
}
|
|
}
|
|
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
mavenCentral()
|
|
google()
|
|
maven(url = "https://www.jitpack.io")
|
|
}
|
|
}
|
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
rootProject.name = "BreezyWeather"
|
|
include(":app")
|
|
include(":data")
|
|
include(":domain")
|
|
include(":maps-utils")
|
|
include(":ui-weather-view")
|
|
include(":weather-unit")
|
|
|
|
// To test local changes
|
|
/*includeBuild("../breezy-weather-data-sharing-lib/") {
|
|
dependencySubstitution {
|
|
substitute(module("com.github.breezy-weather:breezy-weather-data-sharing-lib"))
|
|
.using(project(":lib"))
|
|
}
|
|
}*/
|