title: Extend Gradle task written in Groovy with Kotlin
body: <p>In order to proceed a migration from Groovy/Java to Kotlin for a Gradle project, I would like to convert a Groovy class to Kotlin. My class extends another Groovy class with an implicit <code>implements GroovyObject</code>.</p>
  <p>When using Java, this is not a problem, but Kotlin complains about abstract methods from <code>GroovyObject</code> that have to be implemented.</p>
  <p>There is an <a href="https://discuss.kotlinlang.org/t/extending-groovy-class-from-kotlin/1675" rel="nofollow noreferrer">existing discussion</a> but the solution does not work for me since I cannot call the abstract methods directly.</p>