mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-28 14:19:38 +00:00
Remove checkstyle and javaformat plugins
This commit is contained in:
parent
a35189a9c5
commit
4ad3b4edb5
1 changed files with 13 additions and 5 deletions
18
build.gradle
18
build.gradle
|
@ -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'
|
||||
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue