skydoves / compose-stable-marker Goto Github PK
View Code? Open in Web Editor NEW✒️ Compose stable markers for KMP to tell stable/immutable guarantees to the compose compiler.
License: Apache License 2.0
✒️ Compose stable markers for KMP to tell stable/immutable guarantees to the compose compiler.
License: Apache License 2.0
Getting these warnings when building KMM Android app:
Dependencies:
com.github.skydoves:compose-stable-marker:1.0.3
Such dependencies are not applicable for Kotlin/Native, consider changing the dependency type to 'implementation' or 'api'.
To disable this warning, set the kotlin.native.ignoreIncorrectDependencies=true project property
A compileOnly dependency is used in the Kotlin/Native target 'iosSimulatorArm64':
Compilation: main
First of all, thank you for this library! Unfortunately, I can't get it to work properly yet. Maybe I don't understand it correctly but I tried to use the library in a KMM project. I added the dependency to the commonMain source set (compileOnly) and wanted to annotate our domain models (in the KMM part) with @Immutable
. However, the annotation is not found (Unresolved Reference). Are there any other configuration steps besides the dependency that I have overlooked?
This repository has become obsolete with Compose Compiler 1.5.4, which introduced stability configuration file.
Please complete the following information:
Describe the Bug:
Getting the following compile error while building an ios app
> Task :sketch:compileKotlinIosSimulatorArm64 FAILED
error: Could not find "compose-stable-marker:compose-stable-marker" in [/Users/panpf/Workspace/sketch, /Users/panpf/.konan/klib, /Users/panpf/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.23/klib/common, /Users/panpf/.konan/kotlin-native-prebuilt-macos-aarch64-1.9.23/klib/platform/ios_simulator_arm64]
error: Compilation finished with errors
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.