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:
1 parent
a7dc007cb4
commit
91e9ff92d0
3 files changed
+26
No files matched your search
@@ -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.")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user