Closed maxemann96 closed 2 weeks ago
@bjhargrave any idea?
That looks like a lot of work on our part We just assume all compile tasks are AbstractCompileTask and use methods defined on AbstractCompileTask. We would have to write special code using reflection to configure Kotlin compile tasks. Nice job Kotlin...
thx. I remember that the Kotlin architecture also seemed designed to not let bnd use it :-( They would not create the byte codes on the fly.
@maxemann96 I seem to have closed accidentally is as not planned but you're of course free to submit a PR or raise an issue with Kotlin.
Error description
Kotlin compile tasks no longer inherit the Gradle
AbstractCompile
task. They inherit only theDefaultTask
(Directly taken from the release changelog from 1.7.0).Error appearance
The error appears in the gradle configuration phase (so for any gradle subcommand):
Where to find the erroneous code
See Line 321ff BndPlugin.java.
Known workaround
Sadly not