Disable publishing jpkl (#1147)

This is causing a breakage in our release pipeline right now.
This commit is contained in:
Daniel Chao
2025-07-24 10:04:46 -07:00
committed by GitHub
parent 8e88133248
commit efee9f3801
3 changed files with 155 additions and 154 deletions

View File

@@ -19,7 +19,7 @@ import org.gradle.kotlin.dsl.support.serviceOf
plugins {
id("pklJavaLibrary")
id("pklPublishLibrary")
// id("pklPublishLibrary")
id("com.github.johnrengelman.shadow")
}
@@ -98,34 +98,34 @@ tasks.check {
dependsOn(testStartJavaExecutableOnOtherJdks)
}
publishing {
publications {
// need to put in `afterEvaluate` because `artifactId` cannot be set lazily.
project.afterEvaluate {
register<MavenPublication>("javaExecutable") {
artifactId = executableSpec.javaPublicationName.get()
// publishing {
// publications {
// // need to put in `afterEvaluate` because `artifactId` cannot be set lazily.
// project.afterEvaluate {
// register<MavenPublication>("javaExecutable") {
// artifactId = executableSpec.javaPublicationName.get()
//
// artifact(javaExecutable.map { it.outputs.files.singleFile }) {
// classifier = null
// extension = "bin"
// builtBy(javaExecutable)
// }
//
// pom {
// url = executableSpec.website
// description =
// executableSpec.documentationName.map { name ->
// """
// $name executable for Java.
// Can be executed directly, or with `java -jar <path/to/jpkl>`.
// Requires Java 17 or higher.
// """
// .trimIndent()
// }
// }
// }
// }
// }
// }
artifact(javaExecutable.map { it.outputs.files.singleFile }) {
classifier = null
extension = "jar"
builtBy(javaExecutable)
}
pom {
url = executableSpec.website
description =
executableSpec.documentationName.map { name ->
"""
$name executable for Java.
Can be executed directly, or with `java -jar <path/to/jpkl>`.
Requires Java 17 or higher.
"""
.trimIndent()
}
}
}
}
}
}
signing { project.afterEvaluate { sign(publishing.publications["javaExecutable"]) } }
// signing { project.afterEvaluate { sign(publishing.publications["javaExecutable"]) } }