mirror of
https://github.com/apple/pkl.git
synced 2026-07-13 16:42:52 +02:00
Fix dependency scopes (#1534)
Fixes the following pom.xml issues: 1. pkl-doc and pkl-codegen-java sets the wrong dependency scopes for pkl-commons-cli/pkl-base 2. pkl-config-kotlin sets the wrong dependency scope for pkl-config-java-all Closes #1293 Closes #1517
This commit is contained in:
@@ -21,11 +21,11 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// CliJavaCodeGeneratorOptions exposes CliBaseOptions
|
// CliJavaCodeGeneratorOptions exposes pkl-commons-cli and pkl-base
|
||||||
api(projects.pklCommonsCli)
|
api(projects.pklCommonsCli)
|
||||||
|
api(projects.pklCore)
|
||||||
|
|
||||||
implementation(projects.pklCommons)
|
implementation(projects.pklCommons)
|
||||||
implementation(projects.pklCore)
|
|
||||||
implementation(libs.javaPoet)
|
implementation(libs.javaPoet)
|
||||||
|
|
||||||
testImplementation(projects.pklConfigJava)
|
testImplementation(projects.pklConfigJava)
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ publishing {
|
|||||||
appendNode("groupId", "org.pkl-lang")
|
appendNode("groupId", "org.pkl-lang")
|
||||||
appendNode("artifactId", "pkl-config-java-all")
|
appendNode("artifactId", "pkl-config-java-all")
|
||||||
appendNode("version", project.version)
|
appendNode("version", project.version)
|
||||||
appendNode("scope", "runtime")
|
appendNode("scope", "compile")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,8 +33,10 @@ executable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(projects.pklCore)
|
// CliDocGeneratorOptions exposes pkl-commons-cli and pkl-base
|
||||||
implementation(projects.pklCommonsCli)
|
api(projects.pklCore)
|
||||||
|
api(projects.pklCommonsCli)
|
||||||
|
|
||||||
implementation(projects.pklCommons)
|
implementation(projects.pklCommons)
|
||||||
implementation(projects.pklParser)
|
implementation(projects.pklParser)
|
||||||
implementation(libs.commonMark)
|
implementation(libs.commonMark)
|
||||||
|
|||||||
Reference in New Issue
Block a user