mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 12:57:04 +05:30
feat(deps): configure Whetstone dependencies
This commit is contained in:
parent
15abd31b03
commit
52562afbd1
2 changed files with 32 additions and 0 deletions
|
@ -6,6 +6,8 @@
|
|||
*/
|
||||
@file:Suppress("UnstableApiUsage")
|
||||
|
||||
import me.champeau.gradle.igp.gitRepositories
|
||||
|
||||
pluginManagement {
|
||||
repositories {
|
||||
exclusiveContent {
|
||||
|
@ -41,6 +43,8 @@ pluginManagement {
|
|||
includeModule("gradle.plugin.org.gradle.android", "android-cache-fix-gradle-plugin")
|
||||
includeModule("com.sergei-lapin.napt", "com.sergei-lapin.napt.gradle.plugin")
|
||||
includeModule("com.sergei-lapin.napt", "gradle")
|
||||
includeModule("me.champeau.includegit", "me.champeau.includegit.gradle.plugin")
|
||||
includeModule("me.champeau.gradle.includegit", "plugin")
|
||||
}
|
||||
}
|
||||
includeBuild("build-logic")
|
||||
|
@ -48,6 +52,29 @@ pluginManagement {
|
|||
}
|
||||
}
|
||||
|
||||
plugins { id("me.champeau.includegit") version "0.1.5" }
|
||||
|
||||
gitRepositories {
|
||||
checkoutsDirectory.set(rootProject.projectDir.resolve("build/checkouts"))
|
||||
include("whetstone") {
|
||||
uri.set("https://github.com/msfjarvis/whetstone")
|
||||
branch.set("inject-component-activity")
|
||||
includeBuild {
|
||||
dependencySubstitution {
|
||||
for (module in
|
||||
listOf(
|
||||
"whetstone",
|
||||
"whetstone-compiler",
|
||||
"whetstone-compose",
|
||||
"whetstone-worker",
|
||||
)) {
|
||||
substitute(module("com.deliveryhero.whetstone:$module")).using(project(":$module"))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
|
@ -72,8 +99,10 @@ dependencyResolutionManagement {
|
|||
includeGroup("androidx.compose.ui")
|
||||
includeGroup("androidx.concurrent")
|
||||
includeGroup("androidx.core")
|
||||
includeGroup("androidx.cursoradapter")
|
||||
includeGroup("androidx.customview")
|
||||
includeGroup("androidx.databinding")
|
||||
includeGroup("androidx.drawerlayout")
|
||||
includeGroup("androidx.exifinterface")
|
||||
includeGroup("androidx.fragment")
|
||||
includeGroup("androidx.interpolator")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue