Skip to content

Commit

Permalink
chore: crypto-ffi: don't use the base maven-publish plugin
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
istankovic committed Feb 4, 2025
1 parent beb57f5 commit 21b19fe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crypto-ffi/bindings/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -38,7 +38,6 @@ dependencies {
}

mavenPublishing {
pomFromGradleProperties()
configure(AndroidSingleVariantLibrary(
variant = "release",
sourcesJar = true,
Expand Down

0 comments on commit 21b19fe

Please sign in to comment.