Coder Social home page Coder Social logo

skydoves / compose-stable-marker Goto Github PK

View Code? Open in Web Editor NEW
189.0 189.0 2.0 223 KB

✒️ Compose stable markers for KMP to tell stable/immutable guarantees to the compose compiler.

License: Apache License 2.0

Kotlin 100.00%
android compose jetpack-compose kotlin skydoves

compose-stable-marker's Introduction

Google Developer Expert Google Developers Medium Speaker
Sponsors Twitter Mastodon YouTube

GitHub Status

compose-stable-marker's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

compose-stable-marker's Issues

Kmm build warning

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

Unresolved reference in multiplatform project

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?

Archive this repository

This repository has become obsolete with Compose Compiler 1.5.4, which introduced stability configuration file.

Compile error when building ios app

Please complete the following information:

  • compose-stable-marker: 1.0.3
  • jetbrains-compose: 1.6.1
  • jetbrains-compose-compiler: 1.5.10
  • kotlin: 1.9.23
  • gradle: 8.5

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.