mirror of
https://github.com/bitsycore/compose-desktop-native.git
synced 2026-10-05 10:47:26 +00:00
- buildSrc/ComposeFontBundling.kt: registerComposeFontBundling { } shared by
demo + apidemo — downloadNotoFonts, Material Symbols style detection,
data.kres font/ entries + JVM classpath staging, hb-subset pipeline.
Every flag is opt-in (bundleNotoSans / bundleNotoSansMono /
autoDetectNotoSansMono / bundleMaterialSymbols / enableIconSubsetting);
no flag = no-op.
- apidemo: the whole Fonts section collapses to the config call.
- demo: applies com.bitsycore.compose-desktop-native.bridge — the plugin's
package<Variant>ComposeResources<Target> tasks replace the hand-rolled
copy* Zip loop (now packaging the PREPARED resources), entryPoint moves
to compose.desktop.native {}.
- root: components-resources substitution hoisted into the
FULL-COMMONIZATION BRIDGE (was demo-local; matches the consumer plugin's
bridge table).
- data.kres verified entry-identical for both apps before/after.
8 lines
60 B
Kotlin
8 lines
60 B
Kotlin
plugins {
|
|
`kotlin-dsl`
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|