Skip to content

Conversation

@BartoszLitwiniuk
Copy link
Collaborator

@BartoszLitwiniuk BartoszLitwiniuk commented Dec 22, 2024

Description

This PR introduces Spotless to the project and applies formatting to all source files based on the configured rules.

Purpose

  • To establish a consistent and automated code formatting standard across the project.
  • To ensure future commits remain clean and free from unnecessary formatting diffs.

Details

  • Added Spotless configuration to the Gradle build setup.
  • Defined formatting rules for Java, JSON, gradle and markdown files.
  • Applied formatting to all project files using ./gradlew spotlessApply.
  • The configuration and reformat were previously reviewed separately to allow a clear review process.

Verification

  • Run ./gradlew spotlessCheck — all files should pass.
  • Project builds and runs successfully after applying the formatting.

Next steps

  • Going forward, Spotless will automatically enforce formatting during builds or CI checks.
  • Spotless is integrated with pre-commit so each developer will have it enabled by default.

@BartoszLitwiniuk BartoszLitwiniuk changed the title Spotless code format [DRAFT] Spotless code format Feb 5, 2025
@BartoszLitwiniuk BartoszLitwiniuk changed the title [DRAFT] Spotless code format Introduce Spotless and apply formatting to entire project Oct 15, 2025
@BartoszLitwiniuk
Copy link
Collaborator Author

This PR can be changed to 'Ready for review' when #191 will be merged to this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants