Skip to content

Commit

Permalink
Lazily provide self coordinate to checkUnusedDependencies (#2768)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoenig10 authored Mar 30, 2024
1 parent a197e1c commit 099008c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ private static void configureSourceSet(

// ignore intra-project dependencies, which are typically added automatically for things
// like test fixtures
task.ignore(project.getGroup().toString(), project.getName());
task.ignore(project.provider(() ->
Set.of(ignoreCoordinate(project.getGroup().toString(), project.getName()))));

// this is liberally applied to ease the Java8 -> 11 transition
task.ignore("javax.annotation", "javax.annotation-api");
Expand Down

0 comments on commit 099008c

Please sign in to comment.