Skip to content

Commit

Permalink
update cpd, animalsniffer and spotbugs plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
xvik committed Nov 7, 2021
1 parent cfe5ba7 commit 3b39cb7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* Update spotbugs plugin 4.7.1 -> 4.7.5
* Deprecate quality.pmdIncremental property because incremental analysis is enabled by default
since gradle 6.4 (property only useful for enabling it in gradle 5.6 - 6.3)

Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ wrapper {
}

ext {
animalsnifferVersion = '1.5.3'
cpdVersion = '3.2'
spotbugsPluginVersion = '4.7.1'
animalsnifferVersion = '1.5.4'
cpdVersion = '3.3'
spotbugsPluginVersion = '4.7.5'
docVersion = '4.6.0'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public void apply(final Project project) {
project.getTasks().named(JavaBasePlugin.CHECK_TASK_NAME)
.configure(task -> task.dependsOn(requiredTasks));

final SpotBugsExtension extension = project.getExtensions().findByType(SpotBugsExtension.class);
new SpotBugsTaskFactory().generate(project, task -> task.init(extension));
new SpotBugsTaskFactory().generate(project);
}
}

0 comments on commit 3b39cb7

Please sign in to comment.