File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -607,13 +607,15 @@ val fatJar = tasks.register("fatJar", fun Jar.() {
607607 exclude(" com/sun/jna/freebsd*/**" )
608608 exclude(" com/sun/jna/openbsd*/**" )
609609 exclude(" com/sun/jna/dragonflybsd*/**" )
610- exclude(" com/sun/jna/platform/unix/**" )
611610 exclude(" com/sun/jna/platform/bsd/**" )
612611 exclude(" oshi/software/os/unix/**" )
613612 exclude(" oshi/hardware/platform/unix/**" )
614613 exclude(" oshi/driver/unix/**" )
615614 exclude(" org/lwjgl/system/freebsd/**" )
616615 }
616+ if (PlatformInfo .OS != OSTypes .MAC && PlatformInfo .OS != OSTypes .UNIX ) {
617+ exclude(" com/sun/jna/platform/unix/**" )
618+ }
617619 if (PlatformInfo .OS != OSTypes .LINUX ) {
618620 exclude(" com/sun/jna/platform/linux/**" )
619621 exclude(" com/sun/jna/linux*/**" )
You can’t perform that action at this time.
0 commit comments