[Gradle] Add property to disable Kotlin compiler daemon fallback strategy

#KT-48843 Fixed
This commit is contained in:
Alexander Likhachev
2022-08-05 02:36:28 +02:00
parent 41e6f7efc5
commit 5fa7fcb7a8
10 changed files with 62 additions and 21 deletions
@@ -64,4 +64,12 @@ interface CompileUsingKotlinDaemon : Task {
*/
@get:Internal
val compilerExecutionStrategy: Property<KotlinCompilerExecutionStrategy>
/**
* Defines whether task execution should fail when [compilerExecutionStrategy] is set to [KotlinCompilerExecutionStrategy.DAEMON]
* and compilation via Kotlin daemon was not possible. If set to true then compilation in such case will be retried without the daemon.
* Default is `true`
*/
@get:Internal
val useDaemonFallbackStrategy: Property<Boolean>
}