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 {