Skip to content

Commit

Permalink
Update classgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Feb 19, 2022
1 parent 0cc5804 commit 572446a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>io.github.classgraph</groupId>
<artifactId>classgraph</artifactId>
<version>4.8.47</version>
<version>4.8.139</version>
</dependency>
</dependencies>

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/io/github/arrayv/main/SortAnalyzer.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ private boolean compileSingle(Class<?> sortClass) {

private ClassGraph classGraph(boolean includeExtras) {
ClassGraph classGraph = new ClassGraph()
.whitelistPackages("sorts", "io.github.arrayv.sorts")
.blacklistPackages("sorts.templates", "io.github.arrayv.sorts.templates")
.acceptPackages("sorts", "io.github.arrayv.sorts")
.rejectPackages("sorts.templates", "io.github.arrayv.sorts.templates")
.initializeLoadedClasses();
if (includeExtras && extraSortsInstalled()) {
classGraph.addClassLoader(EXTRA_SORTS_CLASS_LOADER);
Expand Down

0 comments on commit 572446a

Please sign in to comment.