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

Kotlin 2.1 warning due to JTE accessing hidden compiler symbols. #407

Open
sureshg opened this issue Nov 30, 2024 · 0 comments
Open

Kotlin 2.1 warning due to JTE accessing hidden compiler symbols. #407

sureshg opened this issue Nov 30, 2024 · 0 comments

Comments

@sureshg
Copy link

sureshg commented Nov 30, 2024

Kotlin 2.1 now throws a warning and will soon prohibit accessing kotlin-compiler-embeddable from build scripts. I am now starting to get warning messages from build scripts which use theJTE plugin. When i checked the dependencies for the build plugin, kotlin-compiler-embeddable is used by JTE and the Kotlin 2.1 doc suggests the following workaround to fix the issue.

org.jetbrains.kotlin:kotlin-compiler-embeddable:1.9.10 -> 2.1.0
\--- gg.jte:jte-kotlin:3.1.15
     \--- gg.jte:jte-gradle-plugin:3.1.15
          \--- runtimeClasspath
> Configure project :shared
w: The artifact `org.jetbrains.kotlin:kotlin-compiler-embeddable` is present in the build classpath along Kotlin Gradle plugin.
This may lead to unpredictable and inconsistent behavior.
For more details, see: https://kotl.in/gradle/internal-compiler-symbols

> Configure project :web
w: The artifact `org.jetbrains.kotlin:kotlin-compiler-embeddable` is present in the build classpath along Kotlin Gradle plugin.
This may lead to unpredictable and inconsistent behavior.
For more details, see: https://kotl.in/gradle/internal-compiler-symbols
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants