forked from Samarium150/mirai-console-drift-bottle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
43 lines (35 loc) · 1.16 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
val kotlinVersion = "1.5.30"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.9.2"
id("com.geoffgranum.gradle-conventional-changelog") version "0.3.1"
}
group = "io.github.samarium150"
version = "1.4.0"
repositories {
mavenLocal()
maven("https://maven.aliyun.com/repository/public")
mavenCentral()
}
dependencies {
implementation("io.ktor:ktor-client-serialization:1.5.4") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
exclude(group = "org.slf4j")
exclude(group = "io.ktor", module = "ktor-client-core")
}
}
tasks {
withType<KotlinCompile>().all {
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
kotlinOptions.jvmTarget = "11"
}
changelog {
appName = project.name
versionNum = "$version"
repoUrl = "https://github.com/Samarium150/mirai-console-simple-echo"
trackerUrl = "https://github.com/Samarium150/mirai-console-simple-echo/issues"
}
}