Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop forcing Jetpack Compose compiler plugin #704

Closed

Conversation

chrisbanes
Copy link
Contributor

At the moment, the Jetpack Compose compiler plugin is force used on all Kotlin tasks. The JC compiler only works for Android and Desktop, which means that downstream users can't use the artifacts on other KMP targets (such as iOS).

The JB Compose Multiplatform Gradle plugin auto sets up their Compose compiler plugin, so there's no need for the override. The Jetpack Compose compiler is already setup for Android projects through the commonAndroidConfig, so again no need for the override.

@salesforce-cla
Copy link

Thanks for the contribution! Before we can merge this, we need @koalaparadise to sign the Salesforce Inc. Contributor License Agreement.

At the moment, the Jetpack Compose compiler plugin is force
used on all Kotlin tasks. The JC compiler only works for Android
and Desktop, which means that downstream users can't use the
artifacts on other KMP targets (such as iOS).

The JB Compose Multiplatform Gradle plugin auto sets up their
Compose compiler plugin, so there's no need for the override.
The Jetpack Compose compiler is already setup for Android projects
through the `commonAndroidConfig`, so again no need for the override.
@salesforce-cla
Copy link

Thanks for the contribution! Before we can merge this, we need @chrisbanes to sign the Salesforce Inc. Contributor License Agreement.

chrisbanes added a commit to chrisbanes/tivi that referenced this pull request Jun 30, 2023
We need slackhq/circuit#704
for iOS and Native support.
@chrisbanes
Copy link
Contributor Author

Just in case anyone needs this immediately, I've published a fork containing this PR: dev.chrisbanes.circuit:circuit-FOO:0.9.1-compose-mp

chrisbanes added a commit to chrisbanes/tivi that referenced this pull request Jun 30, 2023
We need slackhq/circuit#704
for iOS and Native support.
@ZacSweers
Copy link
Collaborator

ZacSweers commented Jun 30, 2023

Going to backport some changes from #643 to better support this

@ZacSweers ZacSweers closed this Jun 30, 2023
ZacSweers added a commit that referenced this pull request Jun 30, 2023
Continuation from #704

---------

Co-authored-by: Chris Banes <chris@banes.me>
chrisbanes added a commit to chrisbanes/tivi that referenced this pull request Jul 1, 2023
We need slackhq/circuit#704
for iOS and Native support.
chrisbanes added a commit to chrisbanes/tivi that referenced this pull request Jul 1, 2023
We need slackhq/circuit#704
for iOS and Native support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants