Skip to content

Commit

Permalink
updating config
Browse files Browse the repository at this point in the history
  • Loading branch information
jkyberneees committed Dec 14, 2024
1 parent 868ff62 commit 99026e1
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import java.io.ByteArrayOutputStream
plugins {
id("java")
id("maven-publish")
//signing
}

repositories {
Expand Down Expand Up @@ -95,13 +94,13 @@ publishing {
create<MavenPublication>("mavenJava") {
from(components["java"])

groupId = "de.n21no.realtime.pubsub"
artifactId = "core"
groupId = "de.backendstack21"
artifactId = "realtime-pubsub"
version = project.version.toString()

pom {
name.set("Realtime Pub/Sub Client")
description.set("A Java client for Realtime Pub/Sub")
description.set("A Java client for Realtime Pub/Sub (https://realtime.21no.de)")
url.set("https://github.com/BackendStack21/realtime-pubsub-client-java")
licenses {
license {
Expand All @@ -111,9 +110,7 @@ publishing {
}
developers {
developer {
id.set("BackendStack21")
name.set("21no.de")
email.set("realtime.contact@21no.de")
email.set("kyberneees@gmail.com")
}
}
scm {
Expand All @@ -126,16 +123,8 @@ publishing {
}
repositories {
maven {
name = "MavenCentral"
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
credentials {
username = System.getenv("OSSRH_USERNAME")
password = System.getenv("OSSRH_PASSWORD")
}
// local repository
url = uri("file://${project.layout.buildDirectory.get()}/repo")
}
}
}

//signing {
// sign(publishing.publications["mavenJava"])
//}

0 comments on commit 99026e1

Please sign in to comment.