-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
27 lines (22 loc) · 870 Bytes
/
build.gradle.kts
File metadata and controls
27 lines (22 loc) · 870 Bytes
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
plugins {
val kotlinVersion = "1.6.20"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.10.1"
}
group = "org.laolittle.plugin"
version = "1.0-SNAPSHOT"
repositories {
maven("https://maven.aliyun.com/repository/central")
maven("https://packages.jetbrains.team/maven/p/skija/maven")
mavenCentral()
}
fun skikoAwt(ver: String) = "org.jetbrains.skiko:skiko-awt-runtime-$ver"
dependencies {
val ktorVer = "2.0.0"
implementation("io.ktor:ktor-client-core-jvm:$ktorVer")
implementation("io.ktor:ktor-client-okhttp:$ktorVer")
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVer")
implementation("io.ktor:ktor-client-content-negotiation:$ktorVer")
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
}