Skip to content

Commit 9d092a2

Browse files
ShreckYeCopilot
andcommitted
Re-enable publishing of the Material 2 module
The `material2` module was previously kept in source "for reference purposes" only and excluded from publishing (it used `lib-conventions-without-publishing`). However, the downstream `wordbook` app still depends on `compose-multiplatform-html-unified-material2` (it uses components such as `TopAppBarScaffold`, `RadioRow`, etc. that have no Material 3 equivalents yet), so its `0.6.0-SNAPSHOT` dependency is currently unsatisfiable from any registry. Switch `material2` to the publishing `lib-conventions` and restore the `mavenPublishing` POM configuration (mirroring the `material3` module) so the module is published again. It still compiles cleanly under Kotlin 2.3.20. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 95023f1 commit 9d092a2

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

material2/build.gradle.kts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import com.huanshankeji.cpnProject
22
import com.huanshankeji.team.ShreckYe
3-
import com.huanshankeji.team.pomForTeamDefaultOpenSource
3+
import com.huanshankeji.team.setUpPomForTeamDefaultOpenSource
44

55
plugins {
6-
`lib-conventions-without-publishing`
6+
`lib-conventions`
77
}
88

99
kotlin {
@@ -42,15 +42,15 @@ kotlin {
4242
}
4343
}
4444

45-
/*
46-
publishing.publications.withType<MavenPublication> {
47-
pomForTeamDefaultOpenSource(
48-
project,
49-
"Unified Compose Material 2 wrappers $FOR_COMPOSE_TARGETS_IN_TITLE",
50-
"Unified Material Design 2 component wrappers $FOR_COMPOSE_TARGETS_IN_DESCRIPTION",
51-
"2023"
52-
) {
53-
ShreckYe()
45+
mavenPublishing {
46+
pom {
47+
setUpPomForTeamDefaultOpenSource(
48+
project,
49+
"Unified Compose Material 2 wrappers $FOR_COMPOSE_TARGETS_IN_TITLE",
50+
"Unified Material Design 2 component wrappers $FOR_COMPOSE_TARGETS_IN_DESCRIPTION",
51+
"2023"
52+
) {
53+
ShreckYe()
54+
}
5455
}
5556
}
56-
*/

0 commit comments

Comments
 (0)