Does somebody know, why kotlin can’t extend Groovy...
# announcements
n
Does somebody know, why kotlin can’t extend Groovy class, while Java can? It is a bug or feature? https://discuss.kotlinlang.org/t/extending-groovy-class-from-kotlin/1675
k
How is
MyGroovyClass
defined?
c
this is quite strange I think we have some groovy classes extended by Kotlin without problems
Kotlin demands for implement GroovyObject, while java don’t
c
It's not groovy object, it's AbstractTask's setProperty
n
No, it isn’t. I tried extend
AbstractTask
right now, and it works
Also, IDE shows me, all methods missing implementation are from
GroovyObject
c
It's late here, but I'm bookmarking this thread, wanna investigate when I've time tomorrow.
n
No problem. If you need, I could make reproducible repo or provide any info for you.