Adding support for the new Moderations api https://beta.openai.com/docs/guides/moderation Fixes https://github.com/TheoKanning/openai-java/issues/20
14 lines
357 B
Groovy
14 lines
357 B
Groovy
apply plugin: 'java-library'
|
|
apply plugin: "com.vanniktech.maven.publish"
|
|
|
|
dependencies {
|
|
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.9.0'
|
|
compileOnly 'org.projectlombok:lombok:1.18.12'
|
|
annotationProcessor 'org.projectlombok:lombok:1.18.12'
|
|
}
|
|
|
|
compileJava {
|
|
sourceCompatibility = '1.8'
|
|
targetCompatibility = '1.8'
|
|
}
|