Skip to content

Commit

Permalink
GradleLintPluginTaskConfigurer: all lint tasks run after jar tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea committed Oct 30, 2024
1 parent c07c3d5 commit f578fa1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,19 @@ class GradleLintPluginTaskConfigurer extends AbstractLintPluginTaskConfigurer {
project.rootProject.tasks.named(FIX_GRADLE_LINT).configure(new Action<Task>() {
@Override
void execute(Task fixGradleLintTask) {
fixGradleLintTask.dependsOn(project.tasks.withType(AbstractCompile))
fixGradleLintTask.dependsOn(project.tasks.withType(AbstractCompile), project.tasks.withType(Jar))
}
})
project.rootProject.tasks.named(LINT_GRADLE).configure(new Action<Task>() {
@Override
void execute(Task lintGradleTask) {
lintGradleTask.dependsOn(project.tasks.withType(AbstractCompile))
lintGradleTask.dependsOn(project.tasks.withType(AbstractCompile), project.tasks.withType(Jar))
}
})
project.rootProject.tasks.named(FIX_LINT_GRADLE).configure(new Action<Task>() {
@Override
void execute(Task fixLintGradleTask) {
fixLintGradleTask.dependsOn(project.tasks.withType(AbstractCompile))
fixLintGradleTask.dependsOn(project.tasks.withType(AbstractCompile), project.tasks.withType(Jar))
}
})
project.rootProject.tasks.named(CRITICAL_LINT_GRADLE).configure(new Action<Task>() {
Expand Down

0 comments on commit f578fa1

Please sign in to comment.