From 10e12bc1649f831769f07d66a1a88ac1a4110cf5 Mon Sep 17 00:00:00 2001 From: "fabrizio.scarponi" Date: Thu, 24 Oct 2024 16:20:34 +0200 Subject: [PATCH] Remove unnecessary serialization annotations The @Serializable and @SerialName("gradle") annotations were removed from PackageSearchGradleModule as they are not required. This change simplifies the class definition and reduces potential confusion with serialization. --- .../packagesearch/plugin/gradle/PackageSearchGradleModule.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugin/gradle/base/src/main/kotlin/com/jetbrains/packagesearch/plugin/gradle/PackageSearchGradleModule.kt b/plugin/gradle/base/src/main/kotlin/com/jetbrains/packagesearch/plugin/gradle/PackageSearchGradleModule.kt index d2123c56..67ce5518 100644 --- a/plugin/gradle/base/src/main/kotlin/com/jetbrains/packagesearch/plugin/gradle/PackageSearchGradleModule.kt +++ b/plugin/gradle/base/src/main/kotlin/com/jetbrains/packagesearch/plugin/gradle/PackageSearchGradleModule.kt @@ -24,14 +24,10 @@ import kotlin.io.path.createParentDirectories import kotlin.io.path.exists import kotlin.io.path.extension import kotlin.io.path.writeText -import kotlinx.serialization.SerialName -import kotlinx.serialization.Serializable import org.jetbrains.packagesearch.api.v3.ApiPackage import org.jetbrains.packagesearch.api.v3.ApiRepository import org.jetbrains.packagesearch.api.v3.search.PackagesType -@Serializable -@SerialName("gradle") data class PackageSearchGradleModule( override val name: String, override val identity: PackageSearchModule.Identity,