Skip to content

Commit 99026e1

Browse files
committed
updating config
1 parent 868ff62 commit 99026e1

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

build.gradle.kts

+6-17
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import java.io.ByteArrayOutputStream
33
plugins {
44
id("java")
55
id("maven-publish")
6-
//signing
76
}
87

98
repositories {
@@ -95,13 +94,13 @@ publishing {
9594
create<MavenPublication>("mavenJava") {
9695
from(components["java"])
9796

98-
groupId = "de.n21no.realtime.pubsub"
99-
artifactId = "core"
97+
groupId = "de.backendstack21"
98+
artifactId = "realtime-pubsub"
10099
version = project.version.toString()
101100

102101
pom {
103102
name.set("Realtime Pub/Sub Client")
104-
description.set("A Java client for Realtime Pub/Sub")
103+
description.set("A Java client for Realtime Pub/Sub (https://realtime.21no.de)")
105104
url.set("https://github.com/BackendStack21/realtime-pubsub-client-java")
106105
licenses {
107106
license {
@@ -111,9 +110,7 @@ publishing {
111110
}
112111
developers {
113112
developer {
114-
id.set("BackendStack21")
115-
name.set("21no.de")
116-
email.set("[email protected]")
113+
email.set("[email protected]")
117114
}
118115
}
119116
scm {
@@ -126,16 +123,8 @@ publishing {
126123
}
127124
repositories {
128125
maven {
129-
name = "MavenCentral"
130-
url = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
131-
credentials {
132-
username = System.getenv("OSSRH_USERNAME")
133-
password = System.getenv("OSSRH_PASSWORD")
134-
}
126+
// local repository
127+
url = uri("file://${project.layout.buildDirectory.get()}/repo")
135128
}
136129
}
137130
}
138-
139-
//signing {
140-
// sign(publishing.publications["mavenJava"])
141-
//}

0 commit comments

Comments
 (0)