mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-10 22:17:13 -06:00
README.md: added notes regarding uber/fat JARs and obfuscation/minimizing/shrinking tools (replaces PR #845)
This commit is contained in:
14
README.md
14
README.md
@@ -76,10 +76,16 @@ Otherwise, download `flatlaf-<version>.jar` here:
|
|||||||
|
|
||||||
[](https://central.sonatype.com/artifact/com.formdev/flatlaf)
|
[](https://central.sonatype.com/artifact/com.formdev/flatlaf)
|
||||||
|
|
||||||
See also
|
- See
|
||||||
[Native Libraries distribution](https://www.formdev.com/flatlaf/native-libraries/)
|
[Native Libraries distribution](https://www.formdev.com/flatlaf/native-libraries/)
|
||||||
for instructions on how to redistribute FlatLaf native libraries with your
|
for instructions on how to redistribute FlatLaf native libraries with your
|
||||||
application.
|
application.
|
||||||
|
- If repackaging FlatLaf (and other) JARs into a single fat/uber JAR:
|
||||||
|
- add `Multi-Release: true` to `META-INF/MANIFEST.MF`
|
||||||
|
- keep `META-INF/versions/` and `META-INF/services/` directories
|
||||||
|
- merge content of equally named files in `META-INF/services/`
|
||||||
|
- If using obfuscation/minimizing/shrinking tools (e.g. **ProGuard** or
|
||||||
|
**Shadow**), exclude package `com.formdev.flatlaf` and all sub-packages.
|
||||||
|
|
||||||
|
|
||||||
### Snapshots
|
### Snapshots
|
||||||
|
|||||||
Reference in New Issue
Block a user