Skip to content

Commit

Permalink
ci: release config build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
Anush008 authored Dec 20, 2023
1 parent 70ca3e4 commit a5fbb31
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ plugins {

id 'com.google.protobuf' version '0.9.4'
id "net.ltgt.errorprone" version '3.1.0'
id 'io.github.gradle-nexus.publish-plugin' version "1.3.0"
}

group = 'io.qdrant'
Expand Down Expand Up @@ -201,6 +202,7 @@ publishing {
mavenJava(MavenPublication) {
from components.java
pom {
name = "Qdrant Java Client"
description = "${project.description}"
url = "https://github.com/${organization}/${repository}"
licenses {
Expand Down Expand Up @@ -228,4 +230,20 @@ publishing {
repositories {
mavenLocal()
}
}
}

nexusPublishing {
repositories {
sonatype {
nexusUrl = uri("https://s01.oss.sonatype.org/service/local/")
snapshotRepositoryUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}
}
}
signing {
def signingKeyId = findProperty("signingKeyId")
def signingKey = findProperty("signingKey")
def signingPassword = findProperty("signingPassword")
useInMemoryPgpKeys(signingKeyId, signingKey, signingPassword)
sign publishing.publications.mavenJava
}

0 comments on commit a5fbb31

Please sign in to comment.