mirror of
https://github.com/apple/pkl.git
synced 2026-07-16 18:11:22 +02:00
Allow renaming Java/Kotlin classes/packages during code generation (#499)
Adds a `rename` field to the Java/Kotlin code generators that allows renaming packages and classes during codegen. * Add `--rename` flag to CLIs * Add `rename` property to Gradle API
This commit is contained in:
@@ -26,7 +26,11 @@ dependencies {
|
||||
//
|
||||
// To debug shaded code in IntelliJ, temporarily remove the conditional.
|
||||
if (System.getProperty("idea.sync.active") == null) {
|
||||
runtimeOnly(project(":pkl-tools", "fatJar"))
|
||||
runtimeOnly(projects.pklTools) {
|
||||
attributes {
|
||||
attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.SHADOWED))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
testImplementation(projects.pklCommonsTest)
|
||||
|
||||
Reference in New Issue
Block a user