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

Compatibility issue with Kotlin 1.7.0 #44

Open
slandelle opened this issue Jun 13, 2022 · 4 comments
Open

Compatibility issue with Kotlin 1.7.0 #44

slandelle opened this issue Jun 13, 2022 · 4 comments

Comments

@slandelle
Copy link

Hi,

Sadly, the siganture has changed:

[error] java.lang.NoSuchMethodException: org.jetbrains.kotlin.cli.common.arguments.ParseCommandLineArgumentsKt.parseCommandLineArguments(java.util.List, org.jetbrains.kotlin.cli.common.arguments.CommonToolArguments)
[error] 	at java.lang.Class.getMethod(Class.java:1786)
[error] 	at kotlin.KotlinStub.parse(KotlinCompile.scala:156)
[error] 	at kotlin.KotlinCompile$.compile(KotlinCompile.scala:37)
[error] 	at kotlin.KotlinPlugin$.$anonfun$kotlinCompileSettings$4(KotlinPlugin.scala:82)
[error] 	at kotlin.KotlinPlugin$.$anonfun$kotlinCompileSettings$4$adapted(KotlinPlugin.scala:78)
@jeffboutotte
Copy link
Contributor

If you still need this and haven't already done the same, we've been using the code from #45 internally for some time now with just an internal fork/internally published artifact. Not sure on turnaround time for review/publishing from this official repo but I just noticed this issue and figured I'd kick back a cherry-picked fix for the broader community.

@slandelle
Copy link
Author

@jeffboutotte Thanks a bunch, that's really great of you!

Yes, we need this, and published in a public repo so it can be used by GitHub Action CI on our public repo.

@pfn do you think you'll be able to merge and release? Or should we look for another solution?

@He-Pin
Copy link

He-Pin commented Sep 18, 2022

It would be great if Kotlin 1.7.10 is supported with a new release.

@jxnu-liguobin
Copy link

jxnu-liguobin commented Oct 20, 2023

@He-Pin https://github.com/bitlap/kotlin-plugin, I will maintain the fork to develop intellij-sbt-dependency-analyzer, now supports kotlin 1.9.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants