[BT] Implement non-incremental compilation within the daemon
#KT-57398 In Progress
This commit is contained in:
committed by
Space Team
parent
fafea27283
commit
18aa7f4d4b
@@ -26,7 +26,7 @@ public final class org/jetbrains/kotlin/buildtools/api/CompilerArgumentsParseExc
|
||||
}
|
||||
|
||||
public abstract interface class org/jetbrains/kotlin/buildtools/api/CompilerExecutionStrategyConfiguration {
|
||||
public abstract fun useDaemonStrategy (Ljava/io/File;Ljava/util/List;)Lorg/jetbrains/kotlin/buildtools/api/CompilerExecutionStrategyConfiguration;
|
||||
public abstract fun useDaemonStrategy (Ljava/util/List;)Lorg/jetbrains/kotlin/buildtools/api/CompilerExecutionStrategyConfiguration;
|
||||
public abstract fun useInProcessStrategy ()Lorg/jetbrains/kotlin/buildtools/api/CompilerExecutionStrategyConfiguration;
|
||||
}
|
||||
|
||||
|
||||
-2
@@ -23,11 +23,9 @@ public interface CompilerExecutionStrategyConfiguration {
|
||||
/**
|
||||
* Marks the compilation to be run in Kotlin daemon launched as a separate process and shared across similar compilation requests.
|
||||
* See Kotlin daemon documentation here: https://kotlinlang.org/docs/gradle-compilation-and-caches.html#the-kotlin-daemon-and-how-to-use-it-with-gradle
|
||||
* @param sessionDir a directory for storing data related to the daemon work session (should not be shared with other compilations)
|
||||
* @param jvmArguments a list of JVM startup arguments for the daemon
|
||||
*/
|
||||
public fun useDaemonStrategy(
|
||||
sessionDir: File,
|
||||
jvmArguments: List<String>,
|
||||
): CompilerExecutionStrategyConfiguration
|
||||
}
|
||||
Reference in New Issue
Block a user