Skip to content

Commit

Permalink
Don't rat on every subproject. (apache#3376)
Browse files Browse the repository at this point in the history
Prevents rat from running for every 'subproject:check'. Will only run
for 'check' or ':check'.
  • Loading branch information
jake-at-work authored Mar 29, 2019
1 parent f816d89 commit 64804f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ subprojects {
apply plugin: 'com.github.ben-manes.versions'
}

check.dependsOn rat

task devBuild(dependsOn: [":assemble"]) {
description "A convenience target for a typical developer workflow: apply spotless and assemble all classes."
// spotless targets are not available until after evaluation.
Expand Down
4 changes: 0 additions & 4 deletions gradle/rat.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,3 @@ rat {
'geode-core/src/main/java/org/apache/geode/admin/jmx/internal/MX4JModelMBean.java'
]
}

subprojects {
check.dependsOn rat
}

0 comments on commit 64804f4

Please sign in to comment.