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

[Jetpack Compose] Kotlin Gradle Plugin 2.1.0 #225

Open
corentin-stamper opened this issue Dec 17, 2024 · 1 comment
Open

[Jetpack Compose] Kotlin Gradle Plugin 2.1.0 #225

corentin-stamper opened this issue Dec 17, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@corentin-stamper
Copy link

Versions

Code Connect CLI version: 1.2.4
Code Connect lib: 1.1.3
Kotlin Gradle Plugin: 2.1.0

Issue

figma connect publish --token ... --verbose
Config file found, parsing /Users/... using specified include globs
Running parser: ./gradlew -p . parseCodeConnect -PfilePath=tmp/figma-code-connect-parser-io.json.tmp -q

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':code-connect:parseCodeConnect'.
> Could not initialize class org.jetbrains.kotlin.compiler.plugin.ComponentRegistrar

* Try:
> Run with --stacktrace
option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan
to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 4s
Error returned from parser: Parser exited with code 1. Try re-running the command with --verbose for more information.

Workaround

Downgrade the Kotlin Gradle Plugin from 2.1.0 to 2.0.21

@slees-figma slees-figma added bug Something isn't working and removed API question labels Dec 18, 2024
@slees-figma
Copy link

Hey @corentin-stamper, thanks for the report! We can repro this on our end, as you said there's some incompatibility between Code Connect and Kotlin Gradle Plugin 2.1.0 - we haven't identified exactly what it is yet but still investigating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants