snapshots: publish macOS .dylib native libraries to Maven Central Snapshots (disabled in commit 5575854e68)

This commit is contained in:
Karl Tauber
2025-06-23 16:56:38 +02:00
parent 0863e289a1
commit bc4c7b25d3

View File

@@ -158,8 +158,4 @@ flatlafPublish {
NativeArtifact( "${natives}/libflatlaf-linux-x86_64.so", "linux-x86_64", "so" ),
NativeArtifact( "${natives}/libflatlaf-linux-arm64.so", "linux-arm64", "so" ),
)
// Maven Central Snapshots repo currently does not accept .dylib files
if( version.toString().endsWith( "-SNAPSHOT" ) )
nativeArtifacts = nativeArtifacts?.filter { it.type != "dylib" }
}