Skip to content

Commit b0f9c37

Browse files
daanschipperKengoTODA
authored andcommitted
fix: Use task creation avoidance api (#234)
1 parent f32bcb9 commit b0f9c37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/com/github/spotbugs/snom/internal/SpotBugsTaskFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ private void generateForJava(Project project, Action<? super SpotBugsTask> confi
4747
log.debug("Creating SpotBugsTask for {}", sourceSet);
4848
project
4949
.getTasks()
50-
.create(
50+
.register(
5151
name,
5252
SpotBugsTask.class,
5353
task -> {

0 commit comments

Comments
 (0)