nixxcode / jvm-brotli

Lightweight, cross-platform Java library for the Brotli compression format
72 stars 10 forks source link

Native Profile Selection #5

Closed nixxcode closed 5 years ago

nixxcode commented 5 years ago

Native maven modules only get activated/loaded if they match the current OS/arch pair. This ensures Linux doesn't try building a Windows .dll, for example.

Native dependency in jvmbrotli\pom is now also chosen based on OS/arch. This ensures the correct native artifact is bundled along with the library.