Skip to content

Commit

Permalink
Add signing step
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemyev Vyacheslav authored and Artemyev Vyacheslav committed Nov 16, 2023
1 parent 39a3642 commit 5468d3a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ buildscript {
testcontainers_version = "1.19.2"
httpclient_version = "5.2.1"
rabbitmq_http_client_version = "5.2.0"
isReleaseVersion = !version.endsWith("SNAPSHOT")
}

repositories {
Expand Down Expand Up @@ -70,7 +71,8 @@ allprojects {
}

configure(rootProject) {
version = "0.0.7"
archivesBaseName = "rabbitmq-kotlin"
version = "0.0.7-SNAPSHOT"

apply plugin: "com.adarshr.test-logger"

Expand Down Expand Up @@ -152,7 +154,7 @@ publishing {
from(components["java"])
artifact(tasks["sourcesJar"])
artifact(tasks["javadocJar"])
groupId = "com.github.viartemev"
groupId = "io.github.viartemev"
artifactId = "rabbitmq-kotlin"
version = "0.7.0"
pom {
Expand Down Expand Up @@ -182,3 +184,8 @@ publishing {
}
}
}

signing {
required { isReleaseVersion && gradle.taskGraph.hasTask("publish") }
sign configurations.archives
}

0 comments on commit 5468d3a

Please sign in to comment.