mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 14:20:35 +01:00
[PR #958] [MERGED] Run spotless Java/Kotlin formatting #828
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/958
Author: @bioball
Created: 2/15/2025
Status: ✅ Merged
Merged: 2/17/2025
Merged by: @bioball
Base:
main← Head:run-kotlin-formatter📝 Commits (1)
5f5be46Run spotless Java/Kotlin formatting📊 Changes
79 files changed (+679 additions, -682 deletions)
View changed files
📝
buildSrc/src/main/kotlin/MergeSourcesJars.kt(+2 -2)📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliPackageDownloader.kt(+2 -2)📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliProjectPackager.kt(+3 -3)📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliProjectResolver.kt(+4 -4)📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliRepl.kt(+5 -5)📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliTestRunner.kt(+2 -2)📝
pkl-cli/src/main/kotlin/org/pkl/cli/repl/Repl.kt(+2 -2)📝
pkl-cli/src/test/kotlin/org/pkl/cli/CliImportAnalyzerTest.kt(+2 -2)📝
pkl-cli/src/test/kotlin/org/pkl/cli/CliProjectPackagerTest.kt(+44 -44)📝
pkl-cli/src/test/kotlin/org/pkl/cli/CliProjectResolverTest.kt(+22 -22)📝
pkl-codegen-java/src/main/kotlin/org/pkl/codegen/java/CliJavaCodeGeneratorOptions.kt(+3 -3)📝
pkl-codegen-java/src/test/kotlin/org/pkl/codegen/java/CliJavaCodeGeneratorTest.kt(+20 -20)📝
pkl-codegen-java/src/test/kotlin/org/pkl/codegen/java/InMemoryJavaCompiler.kt(+2 -2)📝
pkl-codegen-java/src/test/kotlin/org/pkl/codegen/java/JavaCodeGeneratorTest.kt(+42 -42)📝
pkl-codegen-kotlin/src/main/kotlin/org/pkl/codegen/kotlin/CliKotlinCodeGeneratorOptions.kt(+3 -3)📝
pkl-codegen-kotlin/src/test/kotlin/org/pkl/codegen/kotlin/CliKotlinCodeGeneratorTest.kt(+17 -17)📝
pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/CliException.kt(+3 -3)📝
pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/commands/OptionExtensions.kt(+3 -3)📝
pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/commands/ProjectOptions.kt(+4 -4)📝
pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/commands/TestOptions.kt(+2 -2)...and 59 more files
📄 Description
When we updated spotless's Java and Kotlin formatter, we changed the underlying formatting rules.
However, due to spotless ratcheting, these formatting changes don't get applied unless a file gets touched in a commit.
To avoid future PRs introducing lines of change that aren't related to the intention of the PR, this is a one-time format of all files.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.