Skip to content

Commit 300296e

Browse files
Update gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts
Co-authored-by: Marc Philipp <[email protected]>
1 parent 7a411a6 commit 300296e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

gradle/plugins/common/src/main/kotlin/junitbuild.java-library-conventions.gradle.kts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -286,11 +286,8 @@ tasks {
286286
checkstyleTest {
287287
config = resources.text.fromFile(checkstyle.configDirectory.file("checkstyleTest.xml"))
288288
}
289-
tasks.named("rewriteDryRun") {
290-
dependsOn("compileJava")
291-
if (valueOf(getenv("rewriteRun")) && getenv("CI") == null) {
292-
dependsOn("rewriteRun")
293-
}
289+
check {
290+
dependsOn("rewriteDryRun")
294291
}
295292
}
296293

0 commit comments

Comments
 (0)