Skip to content

Commit

Permalink
Merge pull request #239 from MohamedRejeb/0.6.x
Browse files Browse the repository at this point in the history
Add web custom group (js + wasmJs)
  • Loading branch information
MohamedRejeb authored Dec 30, 2024
2 parents 4520072 + a37f00b commit 840876e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions convention-plugins/src/main/kotlin/Hirearchy.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ fun KotlinMultiplatformExtension.applyHierarchyTemplate() {
withJs()
withWasmJs()
}

group("web") {
withJs()
withWasmJs()
}
}
}
}
Expand All @@ -33,3 +38,6 @@ val NamedDomainObjectContainer<KotlinSourceSet>.materialMain: NamedDomainObjectP

val NamedDomainObjectContainer<KotlinSourceSet>.nonAndroidMain: NamedDomainObjectProvider<KotlinSourceSet>
get() = named("nonAndroidMain")

val NamedDomainObjectContainer<KotlinSourceSet>.jsWasmMain: NamedDomainObjectProvider<KotlinSourceSet>
get() = named("jsWasmMain")

0 comments on commit 840876e

Please sign in to comment.