From 05226c5568163f6ece73171fcb9d2a308f40e6a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Stankovi=C4=87?= Date: Tue, 4 Feb 2025 15:49:38 +0100 Subject: [PATCH] chore: crypto-ffi: don't use the base maven-publish plugin The base plugin is missing tasks to publish to Maven Central. Instead, use the high-level plugin, that provides those tasks, but still try to disable javadoc generation. For POM information it looks like the high-level plugin picks up gradle.properties automatically, so we can remove the pomFromGradleProperties() bit. Actually, we have to remove it, because it's incompatible with the high-level plugin and using it results in an error. --- crypto-ffi/bindings/android/build.gradle.kts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crypto-ffi/bindings/android/build.gradle.kts b/crypto-ffi/bindings/android/build.gradle.kts index 115a9bd1ff..5c3f5aa60c 100644 --- a/crypto-ffi/bindings/android/build.gradle.kts +++ b/crypto-ffi/bindings/android/build.gradle.kts @@ -6,7 +6,7 @@ import com.vanniktech.maven.publish.AndroidSingleVariantLibrary plugins { id("com.android.library") kotlin("android") - id("com.vanniktech.maven.publish.base") + id("com.vanniktech.maven.publish") } val kotlinSources = projectDir.resolve("../jvm/src") @@ -38,7 +38,6 @@ dependencies { } mavenPublishing { - pomFromGradleProperties() configure(AndroidSingleVariantLibrary( variant = "release", sourcesJar = true,