JChatGPT/build.gradle.kts
jie65535 49b1b0c345 Update version to v1.2.0
Add LaTex formula convert to image
2024-11-06 22:56:22 +08:00

25 lines
652 B
Plaintext

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