Move data objects into separate openai-api package
People can import this if they want to make their own client or don't like retrofit
This commit is contained in:
parent
5d74cfde5a
commit
61300727c8
|
@ -6,5 +6,5 @@ application {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(":openai")
|
implementation project(":openai-client")
|
||||||
}
|
}
|
|
@ -0,0 +1,6 @@
|
||||||
|
apply plugin: 'java-library'
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compileOnly 'org.projectlombok:lombok:1.18.12'
|
||||||
|
annotationProcessor 'org.projectlombok:lombok:1.18.12'
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
apply plugin: 'java-library'
|
apply plugin: 'java-library'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
api project(":openai-api")
|
||||||
api 'com.squareup.retrofit2:retrofit:2.9.0'
|
api 'com.squareup.retrofit2:retrofit:2.9.0'
|
||||||
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
|
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.9.0'
|
||||||
implementation 'com.squareup.retrofit2:converter-jackson:2.9.0'
|
implementation 'com.squareup.retrofit2:converter-jackson:2.9.0'
|
|
@ -1,5 +1,6 @@
|
||||||
rootProject.name = 'openai-java'
|
rootProject.name = 'openai-java'
|
||||||
|
|
||||||
include ':openai'
|
include 'example'
|
||||||
include ':example'
|
include 'openai-api'
|
||||||
|
include 'openai-client'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue