generated from project-mirai/mirai-console-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle.kts
47 lines (39 loc) · 1.31 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
val kotlinVersion = "1.7.0"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.12.0"
id("com.geoffgranum.gradle-conventional-changelog") version "+"
}
group = "io.github.samarium150"
version = "1.11.0"
repositories {
mavenCentral()
}
dependencies {
implementation("io.ktor:ktor-client-okhttp:2.0.3") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
}
implementation("io.ktor:ktor-client-content-negotiation:2.0.3") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
}
implementation("io.ktor:ktor-serialization-kotlinx-json:2.0.3") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
}
}
tasks {
withType<KotlinCompile>().all {
kotlinOptions.freeCompilerArgs += "-opt-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"
}
}