diff --git a/build.gradle.kts b/build.gradle.kts index e524e07c373..36395e23c81 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -969,26 +969,6 @@ val zipTestData by task { } } -val zipPlugin by task { - val src = when (project.findProperty("pluginArtifactDir") as String?) { - "Kotlin" -> ideaPluginDir - null -> ideaPluginDir - else -> error("Unsupported plugin artifact dir") - } - val destPath = project.findProperty("pluginZipPath") as String? - val dest = File(destPath ?: "$buildDir/kotlin-plugin.zip") - destinationDirectory.set(dest.parentFile) - archiveFileName.set(dest.name) - - from(src) - into("Kotlin") - setExecutablePermissions() - - doLast { - logger.lifecycle("Plugin artifacts packed to ${archiveFile.get()}") - } -} - fun Project.secureZipTask(zipTask: TaskProvider): RegisteringDomainObjectDelegateProviderWithAction { val checkSumTask = tasks.register("${zipTask.name}Checksum", Checksum::class) { dependsOn(zipTask) @@ -1014,7 +994,6 @@ signing { } val zipCompilerWithSignature by secureZipTask(zipCompiler) -val zipPluginWithSignature by secureZipTask(zipPlugin) configure { module {