JChatGPT/build.gradle.kts
jie65535 a6bd48aa4e Update version to v1.1.0
Add timeout config
Add Forward messages when the text is too long
2024-07-29 10:24:36 +08:00

23 lines
551 B
Plaintext

plugins {
val kotlinVersion = "1.9.24"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.16.0"
}
group = "top.jie65535.mirai"
version = "1.1.0"
repositories {
mavenCentral()
maven("https://maven.aliyun.com/repository/public")
}
val openaiClientVersion = "3.8.2"
val ktorVersion = "2.3.12"
dependencies {
implementation("com.aallam.openai:openai-client:$openaiClientVersion")
implementation("io.ktor:ktor-client-okhttp:$ktorVersion")
}