Commit 5c4f4f8
authored
Add utility method to quickly construct JarContent if no filters or replacement manifests are to be used (#65)
The most common use of JarContentBuilder is:
```java
new JarContentsBuilder().paths(path).build()
```
This allows:
```java
JarContents.of(path)
or
paths.map(JarContents::of)
```1 parent f4a3e66 commit 5c4f4f8
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
55 | 72 | | |
0 commit comments