-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
37 lines (31 loc) · 1.05 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
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 = "1.8.4"
repositories {
mavenCentral()
}
dependencies {
implementation("cn.hutool:hutool-cron:5.8.26")
implementation("com.twelvemonkeys.imageio:imageio-webp:3.10.1")
implementation(platform("io.ktor:ktor-bom:2.3.9"))
implementation("io.ktor:ktor-client-okhttp-jvm")
}
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-loafers-calendar"
trackerUrl = "https://github.com/Samarium150/mirai-console-loafers-calendar/issues"
}
}