This commit creates a new build convention that applies the Spring JavaFormat Gradle plugin. This is also adding a default checkstyle configuration for this project. See gh-54
13 lines
270 B
Groovy
13 lines
270 B
Groovy
pluginManagement {
|
|
repositories {
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
resolutionStrategy {
|
|
eachPlugin {
|
|
if (requested.id.id == "io.spring.javaformat") {
|
|
useModule "io.spring.javaformat:spring-javaformat-gradle-plugin:${requested.version}"
|
|
}
|
|
}
|
|
}
|
|
} |