From 84e07fa669af2a806e546a6b6e1a2d85c9c78159 Mon Sep 17 00:00:00 2001 From: Tony Robalik Date: Fri, 13 Dec 2024 12:56:31 -0800 Subject: [PATCH] chore: the root misk module has an empty group. GitOrigin-RevId: 0d42c2d21a143d2c2a7335921511d49ce76e22ae --- settings.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/settings.gradle.kts b/settings.gradle.kts index a35bdd59ea..b461326ae7 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -28,6 +28,11 @@ dependencyResolutionManagement { gradle.lifecycle.beforeProject { group = when { + // The root "misk" project isn't a code-containing project (it's not a module). It doesn't need + // a group, and in fact giving it a group confuses gradle when we `includeBuild("misk")` + // elsewhere, because doing that makes `misk/` and `misk/misk/` _identical_ in GA + // (group-artifact) terms. + path == ":" -> "" path.startsWith(":wisp") -> "app.cash.wisp" else -> "com.squareup.misk" }