mirror of
https://github.com/mii443/ChatGPTBot.git
synced 2025-08-22 15:05:26 +00:00
ChatGPT
This commit is contained in:
11
build.gradle
11
build.gradle
@ -1,9 +1,13 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'com.github.johnrengelman.shadow' version '6.0.0'
|
||||
}
|
||||
|
||||
group = 'codes.mii'
|
||||
version = '1.0-SNAPSHOT'
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
compileTestJava.options.encoding = 'UTF-8'
|
||||
javadoc.options.encoding = 'UTF-8'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@ -19,6 +23,8 @@ repositories {
|
||||
|
||||
dependencies {
|
||||
compileOnly "org.spigotmc:spigot-api:1.19.3-R0.1-SNAPSHOT"
|
||||
implementation 'com.theokanning.openai-gpt3-java:service:0.11.0'
|
||||
implementation 'com.google.code.gson:gson:2.10.1'
|
||||
}
|
||||
|
||||
def targetJavaVersion = 17
|
||||
@ -45,3 +51,8 @@ processResources {
|
||||
expand props
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
project.configurations.implementation.canBeResolved = true
|
||||
configurations = [project.configurations.implementation]
|
||||
}
|
Reference in New Issue
Block a user