[KPM] :kotlin-gradle-plugin-idea: serialVersionUID to 0L

^KT-51262
This commit is contained in:
sebastian.sellmair
2022-02-13 11:04:38 +01:00
committed by Space
parent 93dac93dbe
commit 0460de870a
7 changed files with 57 additions and 9 deletions
@@ -24,4 +24,10 @@ data class IdeaKotlinFragmentImpl(
override val directRefinesDependencies: Collection<IdeaKotlinFragment>,
override val sourceDirectories: Collection<IdeaKotlinSourceDirectory>,
override val resourceDirectories: Collection<IdeaKotlinResourceDirectory>
) : IdeaKotlinFragment
) : IdeaKotlinFragment {
@InternalKotlinGradlePluginApi
companion object {
private const val serialVersionUID = 0L
}
}
@@ -29,4 +29,10 @@ data class IdeaKotlinLanguageSettingsImpl(
override val compilerPluginArguments: Collection<String>,
override val compilerPluginClasspath: Collection<File>,
override val freeCompilerArgs: Collection<String>
) : IdeaKotlinLanguageSettings
) : IdeaKotlinLanguageSettings {
@InternalKotlinGradlePluginApi
companion object {
private const val serialVersionUID = 0L
}
}
@@ -16,4 +16,10 @@ interface IdeaKotlinModule : Serializable {
data class IdeaKotlinModuleImpl(
override val moduleIdentifier: IdeaKotlinModuleIdentifier,
override val fragments: Collection<IdeaKotlinFragment>
) : IdeaKotlinModule
) : IdeaKotlinModule {
@InternalKotlinGradlePluginApi
companion object {
private const val serialVersionUID = 0L
}
}
@@ -7,7 +7,7 @@ package org.jetbrains.kotlin.gradle.kpm.idea
import java.io.Serializable
sealed interface IdeaKotlinModuleIdentifier : Serializable {
interface IdeaKotlinModuleIdentifier : Serializable {
val moduleClassifier: String?
}
@@ -26,11 +26,23 @@ data class IdeaKotlinLocalModuleIdentifierImpl(
override val moduleClassifier: String?,
override val buildId: String,
override val projectId: String
) : IdeaKotlinLocalModuleIdentifier
) : IdeaKotlinLocalModuleIdentifier {
@InternalKotlinGradlePluginApi
companion object {
private const val serialVersionUID = 0L
}
}
@InternalKotlinGradlePluginApi
data class IdeaKotlinMavenModuleIdentifierImpl(
override val moduleClassifier: String?,
override val group: String,
override val name: String
) : IdeaKotlinMavenModuleIdentifier
) : IdeaKotlinMavenModuleIdentifier {
@InternalKotlinGradlePluginApi
companion object {
private const val serialVersionUID = 0L
}
}
@@ -21,4 +21,10 @@ data class IdeaKotlinProjectModelImpl(
override val explicitApiModeCliOption: String?,
override val kotlinNativeHome: File,
override val modules: List<IdeaKotlinModule>
) : IdeaKotlinProjectModel
) : IdeaKotlinProjectModel {
@InternalKotlinGradlePluginApi
companion object {
private const val serialVersionUID = 0L
}
}
@@ -15,4 +15,10 @@ interface IdeaKotlinResourceDirectory : Serializable {
@InternalKotlinGradlePluginApi
data class IdeaKotlinResourceDirectoryImpl(
override val file: File
) : IdeaKotlinResourceDirectory
) : IdeaKotlinResourceDirectory {
@InternalKotlinGradlePluginApi
companion object {
private const val serialVersionUID = 0L
}
}
@@ -15,4 +15,10 @@ interface IdeaKotlinSourceDirectory : Serializable {
@InternalKotlinGradlePluginApi
data class IdeaKotlinSourceDirectoryImpl(
override val file: File,
) : IdeaKotlinSourceDirectory
) : IdeaKotlinSourceDirectory {
@InternalKotlinGradlePluginApi
companion object {
private const val serialVersionUID = 0L
}
}