-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
63 lines (50 loc) · 1.78 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
google()
}
dependencies {
classpath(kotlin("gradle-plugin", version = "1.7.10-1.0.6"))
}
}
plugins {
kotlin("jvm") version "1.7.10"
application
id("com.google.devtools.ksp") version "1.7.10-1.0.6"
kotlin("plugin.serialization") version "1.7.10"
}
group = "top.ntutn"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven(url = "https://jitpack.io")
}
dependencies {
// https://mvnrepository.com/artifact/com.squareup.retrofit2/retrofit
implementation("com.squareup.retrofit2:retrofit:2.9.0")
// https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
ksp("dev.zacsweers.autoservice:auto-service-ksp:1.0.0")
implementation("com.google.auto.service:auto-service-annotations:1.0.1")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.0-RC")
implementation("com.jakewharton.retrofit:retrofit2-kotlinx-serialization-converter:0.8.0")
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
implementation("org.slf4j:slf4j-api:1.7.36")
// https://mvnrepository.com/artifact/ch.qos.logback/logback-core
implementation("ch.qos.logback:logback-core:1.2.11")
// https://mvnrepository.com/artifact/ch.qos.logback/logback-classic
implementation("ch.qos.logback:logback-classic:1.2.11")
// 机器人插件API
implementation("com.github.rfkhx:starseasdk:1.1.3")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
}
application {
mainClass.set("top.ntutn.starsea.MainKt")
executableDir = ""
}