Skip to content

Commit

Permalink
chore: the root misk module has an empty group.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 0d42c2d21a143d2c2a7335921511d49ce76e22ae
  • Loading branch information
autonomousapps authored and svc-squareup-copybara committed Dec 13, 2024
1 parent b454031 commit 84e07fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 84e07fa

Please sign in to comment.