Composites
0.6.0indexedEnhances Jetpack Compose usage with tools for navigation and complex screen building. Includes lightweight annotation processor and modular components for streamlined development.
25
Stars
—
Used by
dependents
—
Health
/ 100
Enhances Jetpack Compose usage with tools for navigation and complex screen building. Includes lightweight annotation processor and modular components for streamlined development.
✨ Composites are a collection of tools and handy libraries that make it easier to use Jetpack Compose.
Please consider giving this repository a star ⭐ if you like the project.
Android only:
dependencies {
// Carbon
implementation("ru.ldralighieri.composites:composites-carbon-core:0.6.0")
ksp("ru.ldralighieri.composites:composites-carbon-processor:0.6.0")
// Fiberglass
implementation("ru.ldralighieri.composites:composites-fiberglass:0.6.0")
}
Multiplatform:
kotlin {
sourceSets {
commonMain {
kotlin.srcDir("build/generated/ksp/metadata/commonMain/kotlin")
dependencies {
// Carbon
implementation("ru.ldralighieri.composites:composites-carbon-core:0.6.0")
// Fiberglass
implementation("ru.ldralighieri.composites:composites-fiberglass:0.6.0")
}
}
}
}
dependencies {
// Carbon
add("kspCommonMainMetadata", "ru.ldralighieri.composites:composites-carbon-processor:0.6.0")
}
// https://github.com/google/ksp/issues/567
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask<*>>().all {
if (name != "kspCommonMainKotlinMetadata") {
dependsOn("kspCommonMainKotlinMetadata")
}
}
Make sure that you have mavenCentral() in the list of repositories:
repositories {
mavenCentral()
}
Snapshot build:
repositories {
maven("https://oss.sonatype.org/content/repositories/snapshots/")
}
dependencies {
implementation("ru.ldralighieri.composites:{module}:0.7.0-SNAPSHOT")
}
App:androidApp run configurationiosApp run configuration./gradlew :app:desktopApp:runMake sure to try running your app or sample app in release mode.
If I forgot something or you have any ideas what can be added or corrected, please create an issue or contact me directly.
Copyright 2023-2025 Vladimir Raupov
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this except compliance the License.
You may obtain a copy of the License at
http:
Unless applicable law agreed to writing, software
distributed under the License distributed an BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express implied.
See the License the specific language governing permissions
limitations under the License.
| Module | Version |
|---|
| composites-carbon-core | |
| composites-carbon-processor | |
| composites-fiberglass |
./gradlew :app:desktopApp:hotRun./gradlew :app:webApp:wasmJsBrowserDevelopmentRun./gradlew :app:webApp:jsBrowserDevelopmentRun (only for browsers that do not support WASM)Surfaced from shared tags and platforms — no rankings paid for.