Example Spread Pack
自动收集自
example/example-spread-pack/README.md。
Consumer example for site.addzero.kcp.spread-pack.
这个示例现在只保留一条路径:
- 真实 Compose Desktop
Material3 Text二次封装示例
在仓库内,优先用 includeBuild("../../") 跑:
ADDZERO_USE_INCLUDED_BUILD=true ./gradlew -p example/example-spread-pack previewComposeTextSpreadPack --no-configuration-cache
includeBuild("../../") currently inherits root-build configuration that starts git during configuration time, so --no-configuration-cache is the reliable local verification path for this repo checkout.
If you want to verify the published artifacts instead of the included build:
./gradlew --no-configuration-cache \
:lib:kcp:spread-pack:kcp-spread-pack-annotations:publishToMavenLocal \
:lib:kcp:spread-pack:kcp-spread-pack-plugin:publishToMavenLocal \
:lib:kcp:spread-pack:kcp-spread-pack-gradle-plugin:publishToMavenLocal
ADDZERO_USE_INCLUDED_BUILD=false ./gradlew -p example/example-spread-pack previewComposeTextSpreadPack --no-configuration-cache
This example covers:
- desktop mode:
@SpreadPackCarrierOf("androidx.compose.material3.Text")- real Compose Desktop startup
- real
Material3 Textwrapper call generated by spread-pack
Maven / Gradle
已发布至 Maven Central。
implementation("site.addzero:example-spread-pack:latest version")
<dependency>
<groupId>site.addzero</groupId>
<artifactId>example-spread-pack</artifactId>
<version>latest version</version>
</dependency>