Skip to content

Commit

Permalink
Remove checkstyle and javaformat plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyer committed Jan 29, 2024
1 parent a35189a commit 4ad3b4e
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,17 @@ plugins {
}

apply plugin: 'java'
apply plugin: 'checkstyle'
apply plugin: 'io.spring.javaformat'
// apply plugin: 'checkstyle'
// 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")));

group = 'org.springframework.samples'
version = '3.2.0'
Expand Down Expand Up @@ -42,9 +51,8 @@ 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'

// checkstyle 'io.spring.javaformat:spring-javaformat-checkstyle:0.0.40'
}

tasks.named('test') {
Expand Down

0 comments on commit 4ad3b4e

Please sign in to comment.