generated from project-mirai/mirai-console-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
45 lines (37 loc) · 1.66 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
plugins {
val kotlinVersion = "1.7.10"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.13.0-RC2"
}
group = "cc.gxstudio"
version = "beta-0.1.0"
repositories {
maven("https://maven.aliyun.com/repository/public") // 阿里云国内代理仓库
mavenLocal()
mavenCentral()
maven("https://repo.mirai.mamoe.net/snapshots")
}
dependencies {
implementation("io.ktor:ktor-server-core-jvm:2.1.2")
implementation("io.ktor:ktor-server-netty-jvm:2.1.2")
testImplementation("io.ktor:ktor-server-test-host-jvm:2.1.2")
implementation("io.fusionauth:fusionauth-jwt:5.2.1")
implementation("com.google.code.gson:gson:2.10")
implementation("com.squareup.okhttp3:okhttp:4.10.0")
implementation("com.google.zxing:core:3.5.0")
implementation("com.google.zxing:javase:3.5.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4")
implementation("io.ktor:ktor-server-status-pages:2.1.2")
implementation("io.ktor:ktor-server-default-headers:2.1.2")
// implementation ("io.ktor:ktor-server-core:1.5.2")
// implementation ("io.ktor:ktor-server-netty:1.5.2")
// implementation ("io.ktor:ktor-serialization:1.5.2")
testImplementation("org.jetbrains.kotlin:kotlin-test:1.7.10")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("mysql:mysql-connector-java:8.0.30")
implementation("io.ktor:ktor-client-core:2.1.2")
implementation("io.ktor:ktor-client-okhttp:2.1.2")
implementation("io.ktor:ktor-http-cio:2.1.2")
compileOnly("net.luckperms:api:5.4")
}