override fun exec()

in src/main/kotlin/org/jetbrains/intellij/platform/gradle/tasks/SignPluginTask.kt [171:187]


    override fun exec() {
        val executable = zipSignerExecutable.orNull?.asPath
            ?: throw GradleException(
                """
                No Marketplace ZIP Signer executable found.
                Please ensure the `zipSigner()` entry is present in the project dependencies section or `intellijPlatform.signing.cliPath` extension property
                See: https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html#intellijPlatform-signing
                """.trimIndent(),
            )

        log.debug("Marketplace ZIP Signer CLI path: $executable")

        classpath = objectFactory.fileCollection().from(executable)
        args(arguments.toList())

        super.exec()
    }