From 97fd3ca72871b2640d3d3e7da360fe0743da05cc Mon Sep 17 00:00:00 2001 From: Silas Della Contrada Date: Wed, 24 Jul 2024 04:16:21 +0200 Subject: [PATCH] build: use classifiers instead of artifact id --- build.gradle.kts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" } }