We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7a05a9 commit 99ad0edCopy full SHA for 99ad0ed
1 file changed
build.gradle.kts
@@ -607,13 +607,15 @@ val fatJar = tasks.register("fatJar", fun Jar.() {
607
exclude("com/sun/jna/freebsd*/**")
608
exclude("com/sun/jna/openbsd*/**")
609
exclude("com/sun/jna/dragonflybsd*/**")
610
- exclude("com/sun/jna/platform/unix/**")
611
exclude("com/sun/jna/platform/bsd/**")
612
exclude("oshi/software/os/unix/**")
613
exclude("oshi/hardware/platform/unix/**")
614
exclude("oshi/driver/unix/**")
615
exclude("org/lwjgl/system/freebsd/**")
616
}
+ if (PlatformInfo.OS != OSTypes.MAC && PlatformInfo.OS != OSTypes.UNIX) {
617
+ exclude("com/sun/jna/platform/unix/**")
618
+ }
619
if (PlatformInfo.OS != OSTypes.LINUX) {
620
exclude("com/sun/jna/platform/linux/**")
621
exclude("com/sun/jna/linux*/**")
0 commit comments