Skip to content

Commit

Permalink
Fix scanDependenciesDisable usage for Gradle plugin
Browse files Browse the repository at this point in the history
Fixes smallrye#1321

Signed-off-by: Michael Edgar <michael@xlate.io>
  • Loading branch information
MikeEdgar committed Jan 7, 2023
1 parent eedc88c commit 7a7b2ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public void generate() {

Configuration config = configProvider.get();

PublishArtifactSet allArtifacts = properties.scanDependenciesDisable.get() ? config.getAllArtifacts() : null;
PublishArtifactSet allArtifacts = properties.scanDependenciesDisable.get() ? null : config.getAllArtifacts();

IndexView index = new GradleDependencyIndexCreator(getLogger()).createIndex(allArtifacts,
classesDirs);
Expand Down

0 comments on commit 7a7b2ad

Please sign in to comment.