Fix jvm and android library version defined in two places

Fixes #234
This commit is contained in:
thunderbiscuit
2022-11-30 12:03:01 -05:00
parent f834da11c5
commit 2645f69853
6 changed files with 18 additions and 4 deletions

View File

@@ -1,6 +1,9 @@
import org.gradle.api.tasks.testing.logging.TestExceptionFormat.*
import org.gradle.api.tasks.testing.logging.TestLogEvent.*
// library version is defined in gradle.properties
val libraryVersion: String by project
plugins {
id("org.jetbrains.kotlin.jvm") version "1.6.10"
id("java-library")
@@ -51,7 +54,7 @@ afterEvaluate {
create<MavenPublication>("maven") {
groupId = "org.bitcoindevkit"
artifactId = "bdk-jvm"
version = "0.12.0-SNAPSHOT"
version = libraryVersion
from(components["java"])
pom {