diff --git a/build.gradle.kts b/build.gradle.kts index 954e5e9..ee5618b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -57,6 +57,7 @@ val bundleJar by tasks.registering(Jar::class) { include("*.dylib") into("natives/$platform/") } + archiveClassifier = platform } val zipBuild by tasks.registering(Zip::class) { @@ -67,6 +68,7 @@ val zipBuild by tasks.registering(Zip::class) { include("lib/**") include("share/**") } + archiveClassifier = platform } publishing { @@ -74,7 +76,7 @@ publishing { create("native${platform.split("-").joinToString("") { it.capitalized() }}") { artifact(bundleJar) artifact(zipBuild) - artifactId = "ffmpeg-${platform}" + artifactId = "ffmpeg-natives" } }