Add publications for pkl-server and pkl-profiler (#1995)

Fixes an issue where it's not possible to depend on pkl-cli because
these dependencies are not published.

Also, add these artifacts to pkl-bom.
This commit is contained in:
Daniel Chao authored and Jen Basch committed 2026-11-18 09:21:37 -08:00
1 parent a7dc007cb4
commit 91e9ff92d0
3 files changed
+26

No files matched your search

+2
View File
@@ -38,6 +38,8 @@ dependencies {
api(projects.pklGradle)
api(projects.pklParser)
api(projects.pklTools)
api(projects.pklServer)
api(projects.pklProfiler)
}
}
+12
View File
@@ -16,6 +16,7 @@
plugins {
id("pklAllProjects")
id("pklJavaLibrary")
id("pklPublishLibrary")
alias(libs.plugins.protobuf)
idea
}
@@ -37,3 +38,14 @@ sourceSets.main { resources { exclude("**/*.proto") } }
idea.module { generatedSourceDirs.add(file("build/generated/sources/proto/main/java")) }
protobuf.protoc { artifact = libs.protoc.get().toString() }
publishing {
publications {
named<MavenPublication>("library") {
pom {
url.set("https://github.com/apple/pkl/tree/main/pkl-profiler")
description.set("Profiling utilities for Pkl.")
}
}
}
}
+12
View File
@@ -17,6 +17,7 @@ plugins {
id("pklAllProjects")
id("pklKotlinLibrary")
id("pklNativeLifecycle")
id("pklPublishLibrary")
}
val externalReaderFixtureConfiguration = configurations.create("externalReaderFixture")
@@ -97,3 +98,14 @@ tasks.testNativeLinuxAmd64 { dependsOn(testLinuxExecutableAmd64) }
tasks.testNativeAlpineLinuxAmd64 { dependsOn(testAlpineExecutableAmd64) }
tasks.testNativeWindowsAmd64 { dependsOn(testWindowsExecutableAmd64) }
publishing {
publications {
named<MavenPublication>("library") {
pom {
url.set("https://github.com/apple/pkl/tree/main/pkl-server")
description.set("Implementation of the server side of Pkl's messaging passing protocol.")
}
}
}
}