rocketraman
05/23/2017, 10:44 PMcom.google.protobuf
I now have available protobuf
as a keyword. Is there an equivalent process that happens with adding plugins to a Kotlin build script? And how does Kotlin script handle classpath / imports when only one project within a larger build adds a plugin, especially given that Kotlin script seems to require imports at the top level?suresh
05/24/2017, 1:14 AMprotobuf
extension, apply the plugin and run ./gradlew gskGenerateAccessors
. After that you should be able to access everything like in groovy but in a type safe manner.rocketraman
05/24/2017, 4:32 AMorg.gradle.script.lang.kotlin.accessors.auto=true
(which mine does)? In any case, gskGenerateAccessors
just reports "task not found".rocketraman
05/24/2017, 4:32 AM