Kapt3: Extract annotation processing to its own task in Gradle. Now the kotlinCompile task should know nothing about kapt, for the main task it's just a regular Java source root.

This commit is contained in:
Yan Zhulanow
2016-11-03 18:15:38 +03:00
committed by Yan Zhulanow
parent 92282072fc
commit 95d1210317
11 changed files with 335 additions and 180 deletions
@@ -39,7 +39,7 @@ class ExampleSubplugin : KotlinGradleSubplugin<AbstractCompile> {
return listOf(SubpluginOption("exampleKey", "exampleValue"))
}
override fun getPluginName(): String {
override fun getCompilerPluginId(): String {
return "example.plugin"
}