Skip to content

Commit eebecfa

Browse files
committed
FileUtils: make native patterns more compact
This also supports more platform/architecture combinations.
1 parent eece780 commit eebecfa

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/main/java/org/scijava/util/FileUtils.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -627,13 +627,8 @@ private static String classifiers() {
627627
"sources",
628628
"javadoc",
629629
"native",
630-
"linux-x86",
631-
"linux-x86_64",
632-
"macosx-x86_64",
633-
"windows-x86",
634-
"windows-x86_64",
635-
"android-arm",
636-
"android-x86",
630+
"(android|linux|macosx|windows)-" +
631+
"(arm|x86|x86_64)",
637632
};
638633
final StringBuilder sb = new StringBuilder("(");
639634
for (final String classifier : classifiers) {

0 commit comments

Comments
 (0)