java
spring
java_spring
Official
Configuration
Policy
Use constructor injection and avoid field injection entirely.
Keep configuration properties immutable records validated via @ConstructorBinding.
Slice tests (@DataJpaTest, @WebMvcTest) to speed up CI suites.
Commands
run
./gradlew bootRun
lint
./gradlew spotbugsMain
test
./gradlew test
build
./gradlew bootJar
format
./gradlew spotlessApply
Add This Standard
Sign in to add this standard to your workspace
Sign in with GitHubDetails
- Language
- java
- Framework
- spring
- Used in
- 4 rulesets