[Gradle] Migrate from ChangesFiles to SourcesChanges

It allows getting rid of the dependency on `:compiler:incremental-compilation-impl`
#KT-61449 In Progress
This commit is contained in:
Alexander.Likhachev
2023-08-14 13:35:38 +02:00
committed by Space Team
parent 4eb468443a
commit 3fb1f7bf42
9 changed files with 20 additions and 28 deletions
@@ -65,7 +65,7 @@ public final class org/jetbrains/kotlin/buildtools/api/SharedApiClassesClassLoad
public static final fun newInstance ()Ljava/lang/ClassLoader;
}
public abstract interface class org/jetbrains/kotlin/buildtools/api/SourcesChanges {
public abstract interface class org/jetbrains/kotlin/buildtools/api/SourcesChanges : java/io/Serializable {
}
public final class org/jetbrains/kotlin/buildtools/api/SourcesChanges$Known : org/jetbrains/kotlin/buildtools/api/SourcesChanges {
@@ -6,12 +6,12 @@
package org.jetbrains.kotlin.buildtools.api
import java.io.File
import java.io.Serializable
/**
* A hierarchy representing source files changes for incremental compilation
*/
@ExperimentalBuildToolsApi
public sealed interface SourcesChanges {
public sealed interface SourcesChanges : Serializable {
/**
* A marker object stating that the API consumer cannot calculate changes (either because it's an initial build or for some other reason).
* The Build Tools API will not enable its source file changes detector in this mode, expecting the API consumer to provide file changes as [Known] for the consequent builds.