Skip to content

Conversation

@liamsharp
Copy link

@liamsharp liamsharp commented Jul 20, 2018

  • A property for library jar exclusions (libraryJarExclusion)

Fixes #61

- A property for library jar exclusions (libraryJarExclusion)
}
}

private void addLibraryJar(ArrayList<String> args, ArrayList<File> libraryJars, File file)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the method signature we could just use List instead of ArrayList

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private void addLibraryJar(ArrayList<String> args, ArrayList<File> libraryJars, File file)
private void addLibraryJar(List<String> args, List<File> libraryJars, File file)

args.add("-libraryjars");
args.add(fileToString(file));
if (libraryJarExclusion != null) {
args.add(libraryJarExclusion);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understood correctly, this exclusion string should be added immediately after the filename without any spaces between them. This would seem to add it as a separate argument for the command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for Java 9 multi release jars

2 participants