forked from Samarium150/mirai-console-loafers-calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
48 lines (42 loc) · 1.41 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
48
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
val kotlinVersion = "1.6.20"
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("net.mamoe.mirai-console") version "2.10.1"
id("com.geoffgranum.gradle-conventional-changelog") version "+"
}
group = "io.github.samarium150"
version = "1.1.1"
repositories {
maven("https://maven.aliyun.com/repository/public")
mavenCentral()
}
dependencies {
implementation("it.justwrote:kjob-core:0.2.0") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
exclude(group = "org.slf4j")
}
implementation("it.justwrote:kjob-kron:0.2.0") {
exclude(group = "org.jetbrains.kotlin")
exclude(group = "org.jetbrains.kotlinx")
exclude(group = "org.slf4j")
}
implementation("it.justwrote:kjob-inmem:0.2.0") {
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-loafers-calendar"
trackerUrl = "https://github.com/Samarium150/mirai-console-loafers-calendar/issues"
}
}