Skip to content

Commit

Permalink
Add spring.javaformat to gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasPerkins1123 authored and dsyer committed Jan 26, 2024
1 parent 1721124 commit a35189a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ plugins {
id 'org.springframework.boot' version '3.2.0'
id 'io.spring.dependency-management' version '1.1.4'
id 'org.graalvm.buildtools.native' version '0.9.28'
id 'io.spring.javaformat' version '0.0.40'
}

apply plugin: 'java'
apply plugin: 'checkstyle'
apply plugin: 'io.spring.javaformat'

group = 'org.springframework.samples'
version = '3.2.0'
Expand Down Expand Up @@ -39,6 +42,9 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-docker-compose'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:mysql'

checkstyle 'io.spring.javaformat:spring-javaformat-checkstyle'
checkstyle 'io.spring.javaformat:spring-javaformat-gradle-plugin'
}

tasks.named('test') {
Expand Down

0 comments on commit a35189a

Please sign in to comment.