Files
spring-ws/gradle/plugins/conventions-plugin/build.gradle
Stéphane Nicoll 12ad317f2b Configure gradle-versions-plugin
Closes gh-1594
2025-05-28 09:49:06 +02:00

39 lines
1018 B
Groovy

plugins {
id "checkstyle"
id "java-gradle-plugin"
id "io.spring.javaformat" version "$javaFormatVersion"
}
repositories {
gradlePluginPortal()
mavenCentral()
}
dependencies {
api(platform("org.junit:junit-bom:${junitVersion}"))
checkstyle("com.puppycrawl.tools:checkstyle:${checkstyle.toolVersion}")
checkstyle("io.spring.javaformat:spring-javaformat-checkstyle:${javaFormatVersion}")
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.assertj:assertj-core:${assertJVersion}")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
gradlePlugin {
plugins {
conventionsPlugin {
id = "org.springframework.ws.conventions"
implementationClass = "org.springframework.ws.gradle.conventions.ConventionsPlugin"
}
}
}
dependencies {
implementation("com.github.ben-manes:gradle-versions-plugin:$gradleVersionsPluginVersion")
implementation("io.spring.javaformat:spring-javaformat-gradle-plugin:$javaFormatVersion")
}
tasks.named('test') {
useJUnitPlatform()
}