Skip to content

Commit 7b05015

Browse files
committed
update publish config
1 parent 345d4c6 commit 7b05015

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
plugins {
2-
id "com.vanniktech.maven.publish" version "0.19.0" apply false
2+
id "com.vanniktech.maven.publish" version "0.27.0"
33
}
44

5+
import com.vanniktech.maven.publish.SonatypeHost
6+
57
allprojects {
68
plugins.withId("com.vanniktech.maven.publish") {
7-
mavenPublish {
8-
sonatypeHost = "S01"
9+
mavenPublishing {
10+
// Want to publish to so1.oss.sonatype.org
11+
publishToMavenCentral(SonatypeHost.S01)
912
}
1013
}
1114
}

gradle.properties

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
GROUP=com.launchableinc.openai-java
22
VERSION_NAME=0.1.0
3-
POM_URL=https://github.com/launchableinc/openai-java
4-
POM_SCM_URL=https://github.com/launchableinc/openai-java
5-
POM_SCM_CONNECTION=https://github.com/launchableinc/openai-java.git
6-
POM_SCM_DEV_CONNECTION=https://github.com/launchableinc/openai-java.git
3+
POM_URL=https://launchableinc.com
4+
POM_SCM_URL=scm:git:git@github.com:launchableinc/openai-java.git
5+
POM_SCM_CONNECTION=scm:git:git@github.com:launchableinc/openai-java.git
6+
POM_SCM_DEV_CONNECTION=scm:git:git@github.com:launchableinc/openai-java.git
77
POM_LICENSE_NAME=The MIT License
88
POM_LICENSE_URL=https://www.mit.edu/~amini/LICENSE.md
99
POM_LICENSE_DIST=repo
10-
POM_DEVELOPER_ID=Launchableinc
11-
POM_DEVELOPER_NAME=Launchable,inc.
10+
POM_DEVELOPER_ID=engineering
11+
POM_DEVELOPER_NAME=Engineering
1212
org.gradle.parallel=true
1313
org.gradle.caching=true
1414

0 commit comments

Comments
 (0)