[BT] Move ClassSnapshotGranularity to the Build Tools API module
#KT-57565 In Progress
This commit is contained in:
committed by
Space Team
parent
442d1cf711
commit
329fd6be45
@@ -85,6 +85,13 @@ public final class org/jetbrains/kotlin/buildtools/api/SourcesChanges$Unknown :
|
|||||||
public abstract interface class org/jetbrains/kotlin/buildtools/api/jvm/ClassSnapshot {
|
public abstract interface class org/jetbrains/kotlin/buildtools/api/jvm/ClassSnapshot {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public final class org/jetbrains/kotlin/buildtools/api/jvm/ClassSnapshotGranularity : java/lang/Enum {
|
||||||
|
public static final field CLASS_LEVEL Lorg/jetbrains/kotlin/buildtools/api/jvm/ClassSnapshotGranularity;
|
||||||
|
public static final field CLASS_MEMBER_LEVEL Lorg/jetbrains/kotlin/buildtools/api/jvm/ClassSnapshotGranularity;
|
||||||
|
public static fun valueOf (Ljava/lang/String;)Lorg/jetbrains/kotlin/buildtools/api/jvm/ClassSnapshotGranularity;
|
||||||
|
public static fun values ()[Lorg/jetbrains/kotlin/buildtools/api/jvm/ClassSnapshotGranularity;
|
||||||
|
}
|
||||||
|
|
||||||
public abstract interface class org/jetbrains/kotlin/buildtools/api/jvm/ClasspathEntrySnapshot {
|
public abstract interface class org/jetbrains/kotlin/buildtools/api/jvm/ClasspathEntrySnapshot {
|
||||||
public abstract fun getClassSnapshots ()Ljava/util/LinkedHashMap;
|
public abstract fun getClassSnapshots ()Ljava/util/LinkedHashMap;
|
||||||
public abstract fun saveSnapshot (Ljava/io/File;)V
|
public abstract fun saveSnapshot (Ljava/io/File;)V
|
||||||
|
|||||||
+1
-1
@@ -17,7 +17,7 @@ package org.jetbrains.kotlin.buildtools.api.jvm
|
|||||||
* Therefore, [CLASS_LEVEL] is typically suitable for classes that are infrequently changed (e.g., external libraries), whereas
|
* Therefore, [CLASS_LEVEL] is typically suitable for classes that are infrequently changed (e.g., external libraries), whereas
|
||||||
* [CLASS_MEMBER_LEVEL] is suitable for classes that are frequently changed (e.g., classes produced by the current project).
|
* [CLASS_MEMBER_LEVEL] is suitable for classes that are frequently changed (e.g., classes produced by the current project).
|
||||||
*/
|
*/
|
||||||
enum class ClassSnapshotGranularity {
|
public enum class ClassSnapshotGranularity {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Snapshotting level that allows tracking whether a .class file has changed without tracking what specific parts of the .class file
|
* Snapshotting level that allows tracking whether a .class file has changed without tracking what specific parts of the .class file
|
||||||
@@ -19,6 +19,7 @@ dependencies {
|
|||||||
api(project(":kotlin-build-common"))
|
api(project(":kotlin-build-common"))
|
||||||
api(project(":daemon-common"))
|
api(project(":daemon-common"))
|
||||||
api(project(":compiler:build-tools:kotlin-build-statistics"))
|
api(project(":compiler:build-tools:kotlin-build-statistics"))
|
||||||
|
api(project(":compiler:build-tools:kotlin-build-tools-api"))
|
||||||
compileOnly(intellijCore())
|
compileOnly(intellijCore())
|
||||||
|
|
||||||
testApi(commonDependency("junit:junit"))
|
testApi(commonDependency("junit:junit"))
|
||||||
|
|||||||
Reference in New Issue
Block a user