Skip to content

Commit

Permalink
Use task creation avoidance api
Browse files Browse the repository at this point in the history
  • Loading branch information
daanschipper authored and KengoTODA committed Apr 26, 2020
1 parent f32bcb9 commit ed1cecf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private void generateForJava(Project project, Action<? super SpotBugsTask> confi
log.debug("Creating SpotBugsTask for {}", sourceSet);
project
.getTasks()
.create(
.register(
name,
SpotBugsTask.class,
task -> {
Expand Down

0 comments on commit ed1cecf

Please sign in to comment.