From b6c4d2c85f92bf11b09f6a0361d3d36cf5c83c5b Mon Sep 17 00:00:00 2001 From: oluiscabral Date: Thu, 12 Dec 2024 08:50:56 -0300 Subject: [PATCH] Copy old `publications` From: https://github.com/ARK-Builders/ark-core/blob/23567aeb6b1184cd004ab7419b8e1895be618024/java/lib/build.gradle.kts --- java/lib/build.gradle | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/java/lib/build.gradle b/java/lib/build.gradle index 472e90f..2ac522a 100644 --- a/java/lib/build.gradle +++ b/java/lib/build.gradle @@ -3,6 +3,9 @@ apply plugin: 'com.android.library' apply plugin: 'pl.allegro.tech.build.axion-release' apply plugin: 'org.mozilla.rust-android-gradle.rust-android' +version = scmVersion.version +group = "dev.arkbuilders.core" + android { ndkVersion '28.0.12433566' namespace 'dev.arkbuilders.core' @@ -62,25 +65,13 @@ tasks.configureEach { task -> } } -def libVersion = scmVersion.version publishing { publications { - release(MavenPublication) { - groupId = 'dev.arkbuilders' - artifactId = 'core' - version = libVersion + Maven(MavenPublication) { afterEvaluate { from components.release } } - debug(MavenPublication) { - groupId = 'dev.arkbuilders' - artifactId = 'core-debug' - version = libVersion - afterEvaluate { - from components.debug - } - } } repositories { maven {