mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
The build `0.4.0-build182` upgrades `kotlinx-collections-immutable` library (which is used by the compose runtime) to 0.3.4, which was published to maven central, so most usages of sunsetting jcenter repo can be removed now. Resolves #557
Compose Uber Jar
Merges all org.jetbrains.compose* artifacts into one uber jar compose-full.jar.
Building
Specify a version of compose artifacts to merge:
- by providing version directly via
compose.versionproperty
(e.g../gradlew -Pcompose.version=0.1.0-build49 ...); - or by providing a path to file containing a version via
compose.version.fileproperty (e.g../gradlew -Pcompose.version.file=version.txt ...); compose.version.filehas a higher priority thancompose.version.
Build a jar locally by running:
./gradlew shadowJar
The jar will be available at build/libs/compose-full.jar
Publishing
export COMPOSE_REPO_USERNAME=<COMPOSE_REPO_USERNAME>
export COMPOSE_REPO_KEY=<COMPOSE_REPO_KEY>
./gradlew publishToComposeRepo