generated from project-mirai/mirai-console-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 17
/
build.gradle.kts
39 lines (31 loc) · 1.04 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
val kotlinVersion = "1.8.0"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.16.0"
id("com.geoffgranum.gradle-conventional-changelog") version "+"
}
group = "io.github.samarium150"
version = "6.1.0"
repositories {
mavenCentral()
}
dependencies {
implementation(platform("io.ktor:ktor-bom:2.3.9"))
implementation("io.ktor:ktor-client-okhttp-jvm")
implementation("io.ktor:ktor-client-content-negotiation")
implementation("io.ktor:ktor-serialization-kotlinx-json")
}
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-lolicon"
trackerUrl = "https://github.com/Samarium150/mirai-console-lolicon/issues"
}
}