Skip to content

Commit 84e07fa

Browse files
chore: the root misk module has an empty group.
GitOrigin-RevId: 0d42c2d21a143d2c2a7335921511d49ce76e22ae
1 parent b454031 commit 84e07fa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

settings.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ dependencyResolutionManagement {
2828

2929
gradle.lifecycle.beforeProject {
3030
group = when {
31+
// The root "misk" project isn't a code-containing project (it's not a module). It doesn't need
32+
// a group, and in fact giving it a group confuses gradle when we `includeBuild("misk")`
33+
// elsewhere, because doing that makes `misk/` and `misk/misk/` _identical_ in GA
34+
// (group-artifact) terms.
35+
path == ":" -> ""
3136
path.startsWith(":wisp") -> "app.cash.wisp"
3237
else -> "com.squareup.misk"
3338
}

0 commit comments

Comments
 (0)