Between Kotlin 1.1.51 and 1.1.60 `kotlin-annotatio...
# build-tools
a
Between Kotlin 1.1.51 and 1.1.60
kotlin-annotation-processing
artifact was discontinued and now there is a
kotlin-annotation-processing-gradle
instead (as well as
-maven
which was there for some time)
<https://github.com/JetBrains/kotlin/commit/feee93186bdab504c5bf94d1c046bf7f2a0697af>
1. Does it mean that
-gradle
version will become more Gradle-specific? Reason why I'm asking is because OkBuck + Buck need it to support Kapt and relied on
kotlin-annotation-processing
before, but now it's gone 2. Changelog doesn't seem to reflect this change
<https://github.com/JetBrains/kotlin/blob/1.1.60/ChangeLog.md>
cc @h0tk3y
👍 2
y
1. No, that’s just an artifact of switching our build to Gradle. The only difference is that
kotlin-annotation-processing-gradle
is built for the “shaded” compiler so it will be incompatible with the CLI kotlinc (at least, for some time). As it should be discussed internally if we will return the
kotlin-annotation-processing
artifact, as a workaround, you can use
kotlin-annotation-processing-maven
instead. It should work exactly the same way.
c
Is it possible that the maven artifact will become incompatible with CLI kotlinc?
y
It will become incompatible if we shade IntelliJ platform components in Kotlin compiler for Maven. But now we don’t have such plans.
Looks like my previous comments we not really correct. We shaded the Intellij components in kotlin-annotation-processing, and we just renamed it to
kotlin-annotation-processing-gradle
. So please use
kotlin-annotation-processing-gradle
as a replacement.