-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
38 lines (32 loc) · 1.21 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
plugins {
val kotlinVersion = "1.6.21"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.13.2"
}
group = "org.seiki"
version = "1.0-SNAPSHOT"
repositories {
maven("https://maven.aliyun.com/repository/public")
maven("https://maven.aliyun.com/repository/central")
maven("https://maven.aliyun.com/repository/google/")
maven("https://maven.aliyun.com/repository/jcenter/")
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
maven("https://jitpack.io")
mavenCentral()
}
fun skikoAwt(ver: String) = "org.jetbrains.skiko:skiko-awt-runtime-$ver"
dependencies {
implementation("com.google.code.gson:gson:2.10")
implementation("cn.hutool:hutool-cron:5.8.11")
implementation("com.squareup.okhttp3:okhttp:3.14.2")
val smVer = "1.0.8"
compileOnly("com.github.LaoLittle:SkikoMirai:$smVer")
testImplementation("com.github.LaoLittle:SkikoMirai:$smVer")
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
}
tasks {
compileKotlin {
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
}