Kapt: Remove duplicating check, this also removes the senseless warning (KT-21425)

This commit is contained in:
Yan Zhulanow
2017-11-27 16:39:12 +09:00
committed by Yan Zhulanow
parent 4c96453a4b
commit d58665b5a8
2 changed files with 7 additions and 6 deletions
@@ -203,9 +203,6 @@ class Kapt3KotlinGradleSubplugin : KotlinGradleSubplugin<KotlinCompile> {
pluginOptions += SubpluginOption("aptMode", aptMode)
disableAnnotationProcessingInJavaTask()
// Skip annotation processing in kotlinc if no kapt dependencies were provided
if (kaptClasspath.isEmpty()) return pluginOptions
kaptClasspath.forEach { pluginOptions += SubpluginOption("apclasspath", it.absolutePath) }
javaCompile.source(generatedFilesDir)