mirror of
https://github.com/LamGC/ScalaBot.git
synced 2025-07-02 05:17:24 +00:00
initial: 基本完成的首个版本, 还需要调整一下.
暂时按照当初的计划实现了一个可用版本出来, 发布与否晚些再确定.
This commit is contained in:
42
scalabot-app/build.gradle.kts
Normal file
42
scalabot-app/build.gradle.kts
Normal file
@ -0,0 +1,42 @@
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
|
||||
plugins {
|
||||
kotlin("jvm") version "1.6.10"
|
||||
application
|
||||
// id("org.jetbrains.kotlin") version "1.6.10"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":scalabot-extension"))
|
||||
|
||||
implementation("org.slf4j:slf4j-api:1.7.32")
|
||||
implementation("io.github.microutils:kotlin-logging:2.1.21")
|
||||
implementation("ch.qos.logback:logback-classic:1.2.10")
|
||||
|
||||
implementation("org.eclipse.aether:aether-api:1.1.0")
|
||||
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0")
|
||||
implementation("com.google.code.gson:gson:2.8.9")
|
||||
|
||||
// implementation("org.dom4j:dom4j:2.1.3")
|
||||
|
||||
implementation("org.jdom:jdom2:2.0.6.1")
|
||||
|
||||
implementation("org.telegram:telegrambots-abilities:5.6.0")
|
||||
implementation("org.telegram:telegrambots:5.6.0")
|
||||
|
||||
testImplementation(kotlin("test"))
|
||||
}
|
||||
|
||||
tasks.test {
|
||||
useJUnitPlatform()
|
||||
|
||||
}
|
||||
|
||||
tasks.withType<KotlinCompile> {
|
||||
kotlinOptions.jvmTarget = "11"
|
||||
}
|
||||
|
||||
application {
|
||||
mainClass.set("net.lamgc.scalabot.AppMainKt")
|
||||
}
|
Reference in New Issue
Block a user