Skip to content

Commit

Permalink
NoClassDefFoundError: org/jetbrains/kotlin/konan/file/FileKt when r…
Browse files Browse the repository at this point in the history
…unning `signPlugin` task on Gradle lower than 8.0 #1319
  • Loading branch information
hsz committed Feb 17, 2023
1 parent c4fca56 commit 938865c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Fixed
- Instrumentation ignores `intellij.instrumentCode = false` [#1310](../../issues/1310)
- `NoClassDefFoundError: org/jetbrains/kotlin/konan/file/FileKt` when running `signPlugin` task on Gradle lower than 8.0 [#1319](../../issues/1319)

## [1.13.0] - 2023-02-10

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import org.gradle.work.DisableCachingByDefault
import org.jetbrains.intellij.IntelliJPluginConstants.PLUGIN_GROUP_NAME
import org.jetbrains.intellij.IntelliJPluginConstants.VERSION_LATEST
import org.jetbrains.intellij.utils.LatestVersionResolver
import org.jetbrains.kotlin.konan.file.recursiveCopyTo
import java.nio.file.Path
import kotlin.io.path.copyTo

@DisableCachingByDefault(because = "Resolves value from remote source")
abstract class DownloadZipSignerTask : DefaultTask() {
Expand Down Expand Up @@ -45,7 +45,7 @@ abstract class DownloadZipSignerTask : DefaultTask() {

@TaskAction
fun downloadZipSigner() {
Path.of(cliPath.get()).recursiveCopyTo(cli.asFile.get().toPath())
Path.of(cliPath.get()).copyTo(cli.asFile.get().toPath(), true)
}

/**
Expand Down

0 comments on commit 938865c

Please sign in to comment.