nebula-kotlin-plugin
nebula-kotlin-plugin copied to clipboard
Support for Kotlin in Android
This feature would be appreciated by many people, I think.
A potential implementation could be to check if a gradle configuration contains com.android.application
plugin applied (and may be its deprecated aliases + android library projects), and apply kotlin-android
plugin in this case instead of the standard kotlin
.
+1
It'll come with some caveats over the plain version:
https://github.com/nebula-plugins/nebula-kotlin-plugin/commit/169170de8b0ee6c99229efae1a2206f49078611b
We won't be able to add the standard library automatically, or do the sourceCompatibility trick for adding the correct library variant, because the Android plugin resolves the compile configuration when it's applied.
Just need to fix a failing test, and I'll look at a release.