parent
f834da11c5
commit
2645f69853
@ -11,12 +11,15 @@ plugins {
|
|||||||
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
|
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// library version is defined in gradle.properties
|
||||||
|
val libraryVersion: String by project
|
||||||
|
|
||||||
// These properties are required here so that the nexus publish-plugin
|
// These properties are required here so that the nexus publish-plugin
|
||||||
// finds a staging profile with the correct group (group is otherwise set as "")
|
// finds a staging profile with the correct group (group is otherwise set as "")
|
||||||
// and knows whether to publish to a SNAPSHOT repository or not
|
// and knows whether to publish to a SNAPSHOT repository or not
|
||||||
// https://github.com/gradle-nexus/publish-plugin#applying-the-plugin
|
// https://github.com/gradle-nexus/publish-plugin#applying-the-plugin
|
||||||
group = "org.bitcoindevkit"
|
group = "org.bitcoindevkit"
|
||||||
version = "0.12.0-SNAPSHOT"
|
version = libraryVersion
|
||||||
|
|
||||||
nexusPublishing {
|
nexusPublishing {
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -2,3 +2,4 @@ org.gradle.jvmargs=-Xmx1536m
|
|||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
|
libraryVersion=0.12.0-SNAPSHOT
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
// library version is defined in gradle.properties
|
||||||
|
val libraryVersion: String by project
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("com.android.library")
|
id("com.android.library")
|
||||||
id("org.jetbrains.kotlin.android") version "1.6.10"
|
id("org.jetbrains.kotlin.android") version "1.6.10"
|
||||||
@ -57,7 +60,7 @@ afterEvaluate {
|
|||||||
create<MavenPublication>("maven") {
|
create<MavenPublication>("maven") {
|
||||||
groupId = "org.bitcoindevkit"
|
groupId = "org.bitcoindevkit"
|
||||||
artifactId = "bdk-android"
|
artifactId = "bdk-android"
|
||||||
version = "0.12.0-SNAPSHOT"
|
version = libraryVersion
|
||||||
|
|
||||||
from(components["release"])
|
from(components["release"])
|
||||||
pom {
|
pom {
|
||||||
|
@ -2,12 +2,15 @@ plugins {
|
|||||||
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
|
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// library version is defined in gradle.properties
|
||||||
|
val libraryVersion: String by project
|
||||||
|
|
||||||
// These properties are required here so that the nexus publish-plugin
|
// These properties are required here so that the nexus publish-plugin
|
||||||
// finds a staging profile with the correct group (group is otherwise set as "")
|
// finds a staging profile with the correct group (group is otherwise set as "")
|
||||||
// and knows whether to publish to a SNAPSHOT repository or not
|
// and knows whether to publish to a SNAPSHOT repository or not
|
||||||
// https://github.com/gradle-nexus/publish-plugin#applying-the-plugin
|
// https://github.com/gradle-nexus/publish-plugin#applying-the-plugin
|
||||||
group = "org.bitcoindevkit"
|
group = "org.bitcoindevkit"
|
||||||
version = "0.12.0-SNAPSHOT"
|
version = libraryVersion
|
||||||
|
|
||||||
nexusPublishing {
|
nexusPublishing {
|
||||||
repositories {
|
repositories {
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
org.gradle.jvmargs=-Xmx1536m
|
org.gradle.jvmargs=-Xmx1536m
|
||||||
android.enableJetifier=true
|
android.enableJetifier=true
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
|
libraryVersion=0.12.0-SNAPSHOT
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
import org.gradle.api.tasks.testing.logging.TestExceptionFormat.*
|
import org.gradle.api.tasks.testing.logging.TestExceptionFormat.*
|
||||||
import org.gradle.api.tasks.testing.logging.TestLogEvent.*
|
import org.gradle.api.tasks.testing.logging.TestLogEvent.*
|
||||||
|
|
||||||
|
// library version is defined in gradle.properties
|
||||||
|
val libraryVersion: String by project
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("org.jetbrains.kotlin.jvm") version "1.6.10"
|
id("org.jetbrains.kotlin.jvm") version "1.6.10"
|
||||||
id("java-library")
|
id("java-library")
|
||||||
@ -51,7 +54,7 @@ afterEvaluate {
|
|||||||
create<MavenPublication>("maven") {
|
create<MavenPublication>("maven") {
|
||||||
groupId = "org.bitcoindevkit"
|
groupId = "org.bitcoindevkit"
|
||||||
artifactId = "bdk-jvm"
|
artifactId = "bdk-jvm"
|
||||||
version = "0.12.0-SNAPSHOT"
|
version = libraryVersion
|
||||||
|
|
||||||
from(components["java"])
|
from(components["java"])
|
||||||
pom {
|
pom {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user