mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-04-25 03:42:48 +00:00
Remove checkstyle and leave behind spring javaformat
This commit is contained in:
parent
4ad3b4edb5
commit
6fe21e5d0b
1 changed files with 2 additions and 12 deletions
14
build.gradle
14
build.gradle
|
@ -7,17 +7,9 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
// apply plugin: 'checkstyle'
|
apply plugin: 'io.spring.javaformat'
|
||||||
// apply plugin: 'io.spring.javaformat'
|
|
||||||
|
|
||||||
import io.spring.javaformat.gradle.SpringJavaFormatPlugin
|
gradle.startParameter.excludedTaskNames += [ "checkFormatAot", "checkFormatAotTest" ]
|
||||||
|
|
||||||
project.getPlugins()
|
|
||||||
.withType(SpringJavaFormatPlugin.class,
|
|
||||||
(javaFormat) -> project.getGradle()
|
|
||||||
.getStartParameter()
|
|
||||||
.getExcludedTaskNames()
|
|
||||||
.addAll(Set.of("checkFormatAot", "checkFormatAotTest")));
|
|
||||||
|
|
||||||
group = 'org.springframework.samples'
|
group = 'org.springframework.samples'
|
||||||
version = '3.2.0'
|
version = '3.2.0'
|
||||||
|
@ -51,8 +43,6 @@ dependencies {
|
||||||
testImplementation 'org.springframework.boot:spring-boot-docker-compose'
|
testImplementation 'org.springframework.boot:spring-boot-docker-compose'
|
||||||
testImplementation 'org.testcontainers:junit-jupiter'
|
testImplementation 'org.testcontainers:junit-jupiter'
|
||||||
testImplementation 'org.testcontainers:mysql'
|
testImplementation 'org.testcontainers:mysql'
|
||||||
|
|
||||||
// checkstyle 'io.spring.javaformat:spring-javaformat-checkstyle:0.0.40'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.named('test') {
|
tasks.named('test') {
|
||||||
|
|
Loading…
Reference in a new issue