diff --git a/src/main/kotlin/com/beust/kobalt/plugin/apt/AptPlugin.kt b/src/main/kotlin/com/beust/kobalt/plugin/apt/AptPlugin.kt index 8c2873cf..cf50d616 100644 --- a/src/main/kotlin/com/beust/kobalt/plugin/apt/AptPlugin.kt +++ b/src/main/kotlin/com/beust/kobalt/plugin/apt/AptPlugin.kt @@ -92,8 +92,7 @@ class AptPlugin @Inject constructor(val dependencyManager: DependencyManager, va } private fun generated(project: Project, context: KobaltContext, outputDir: String) = - KFiles.joinAndMakeDir(project.directory, project.buildDirectory, outputDir, - context.variant.toIntermediateDir()) + KFiles.joinAndMakeDir(project.directory, project.buildDirectory, outputDir) private fun generatedSources(project: Project, context: KobaltContext, outputDir: String) = KFiles.joinDir(generated(project, context, outputDir), "sources")