You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KGP adds dependencies that might clash with other Gradle plugins (e.g. adds kotlin-stdlib as a dependency, but this will be provided by Gradle.)
kxb Gradle misses compiler arguments (e.g. -java-parameters) that maximise compatibility with other Gradle plugins.
In order to maximise compatibility with Gradle, kxb Gradle should use the kotlin-dsl plugin instead of KGP. (This might lead to lots of code changes though, because it applies sam-with-receiver - a quicker fix would be to use embedded-kotlin instead of KGP.)
The text was updated successfully, but these errors were encountered:
Currently the kxb Gradle plugin uses Kotlin Gradle Plugin to compile the project.
kotlinx-benchmark/plugin/build.gradle
Lines 19 to 25 in 0764551
However, Gradle uses an embedded version of Kotlin.
Using KGP is problematic for a few reasons.
-java-parameters
) that maximise compatibility with other Gradle plugins.In order to maximise compatibility with Gradle, kxb Gradle should use the
kotlin-dsl
plugin instead of KGP. (This might lead to lots of code changes though, because it appliessam-with-receiver
- a quicker fix would be to useembedded-kotlin
instead of KGP.)The text was updated successfully, but these errors were encountered: