forked from ccosfor/mirai-plugin-HRobot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
41 lines (34 loc) · 1.2 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
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"
}
group = "com.happysnaker"
version = "3.4-SNAPSHOT"
repositories {
maven("https://maven.aliyun.com/repository/public")
mavenCentral()
}
dependencies{
implementation("com.alibaba:fastjson:1.2.76")
implementation(kotlin("stdlib-jdk8"))
// https://mvnrepository.com/artifact/org.jfree/jfreechart
implementation("org.jfree:jfreechart:1.0.19")
// https://mvnrepository.com/artifact/org.reflections/reflections
implementation("org.reflections:reflections:0.9.11")
implementation("org.yaml:snakeyaml:1.25")
implementation("org.jsoup:jsoup:1.11.2")
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
implementation("org.apache.commons:commons-lang3:3.12.0")
implementation("org.quartz-scheduler:quartz:2.2.1")
}
val compileKotlin: KotlinCompile by tasks
compileKotlin.kotlinOptions {
jvmTarget = "1.8"
}
val compileTestKotlin: KotlinCompile by tasks
compileTestKotlin.kotlinOptions {
jvmTarget = "1.8"
}