https://kotlinlang.org logo
Title
a

apomelov

11/24/2017, 1:46 PM
Hi. I've tried to use the
org.hidetake.ssh
plugin and caught "Failed to compile accessors" after add it to
plugin {  }
section. Tried to google for it, found this issue: https://github.com/gradle/kotlin-dsl/issues/447, but not sure it is my case. Any ideas to work this around?
b

bamboo

11/24/2017, 5:28 PM
Hi Alexey, I was able to reproduce the error:
e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
    class org.hidetake.groovy.ssh.core.Remote, unresolved supertypes: FieldHelper, FieldHelper, FieldHelper, FieldHelper, FieldHelper, FieldHelper, FieldHelper, FieldHelper, FieldHelper
So it seems the extension supertype is not visible in the classpath. This has to be fixed on the plugin side I’m afraid.
There’s a small change it could be a bug in the Kotlin compiler as well so please create an issue in the
kotlin-dsl
issue tracker (https://github.com/gradle/kotlin-dsl) and we will investigate further.
a

apomelov

11/25/2017, 6:13 PM
Thanks, I'll do this!