Fix Kotlin internal files created in 'build/' ignoring custom buildDir

Issue #KT-10537 Fixed
This commit is contained in:
Sergey Igushkin
2017-11-30 20:50:44 +03:00
parent 953a485fe7
commit 01931c2ae6
2 changed files with 2 additions and 3 deletions
@@ -262,7 +262,7 @@ open class KotlinCompile : AbstractKotlinCompile<K2JVMCompilerArguments>(), Kotl
private var kaptAnnotationsFileUpdater: AnnotationFileUpdater? = null
@get:Internal
val buildHistoryFile: File = File(taskBuildDirectory, "build-history.bin")
val buildHistoryFile: File get() = File(taskBuildDirectory, "build-history.bin")
@get:Internal
val kaptOptions = KaptOptions()