Skip to content

Commit

Permalink
Add the commonJs group to common (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
eygraber authored Jan 8, 2024
1 parent 5fb20e4 commit 03df118
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions conventions-plugin/src/main/kotlin/kmp.kt
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,11 @@ private fun KotlinMultiplatformExtension.createCommonJs(
if(js != null || wasmJs != null) {
@OptIn(ExperimentalKotlinGradlePluginApi::class)
applyDefaultHierarchyTemplate {
group("commonJs") {
withJs()
withWasm()
common {
group("commonJs") {
withJs()
withWasm()
}
}
}

Expand Down

0 comments on commit 03df118

Please sign in to comment.