Skip to content

Commit ba8a0d5

Browse files
authored
Merge pull request #3 from launchableinc/fix-some
Fix something
2 parents 57f930c + 4378154 commit ba8a0d5

File tree

4 files changed

+14
-23
lines changed

4 files changed

+14
-23
lines changed

.github/pull_request_template.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ Your client will need to use snake case to work with the OpenAI API.
6565
If you're using retrofit, you can import the `client` module and use
6666
the [OpenAiApi](client/src/main/java/com/launchableincc/openai/OpenAiApi.java).
6767
You'll have to add your auth token as a header (
68-
see [AuthenticationInterceptor](client/src/main/java/com/theokanning/openai/AuthenticationInterceptor.java))
68+
see [AuthenticationInterceptor](client/src/main/java/com/launchableinc/openai/AuthenticationInterceptor.java))
6969
and set your converter factory to use snake case and only include non-null fields.
7070

7171
### OpenAiService
7272

7373
If you're looking for the fastest solution, import the `service` module and
74-
use [OpenAiService](service/src/main/java/com/theokanning/openai/service/OpenAiService.java).
74+
use [OpenAiService](service/src/main/java/com/launchableinc/openai/service/OpenAiService.java).
7575

7676
> ⚠️The OpenAiService in the client module is deprecated, please switch to the new version in the
7777
> service module.

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.22.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)