Skip to content

Commit

Permalink
Remove checkstyle and leave behind spring javaformat
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyer committed Jan 30, 2024
1 parent 4ad3b4e commit 6fe21e5
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,9 @@ plugins {
}

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

import io.spring.javaformat.gradle.SpringJavaFormatPlugin

project.getPlugins()
.withType(SpringJavaFormatPlugin.class,
(javaFormat) -> project.getGradle()
.getStartParameter()
.getExcludedTaskNames()
.addAll(Set.of("checkFormatAot", "checkFormatAotTest")));
gradle.startParameter.excludedTaskNames += [ "checkFormatAot", "checkFormatAotTest" ]

group = 'org.springframework.samples'
version = '3.2.0'
Expand Down Expand Up @@ -51,8 +43,6 @@ 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:0.0.40'
}

tasks.named('test') {
Expand Down

0 comments on commit 6fe21e5

Please sign in to comment.