forked from alt-jinser/MiraiSongOrderPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
43 lines (31 loc) · 994 Bytes
/
build.gradle
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
buildscript {
ext.kotlin_version = '1.4'
}
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.0'
id 'org.jetbrains.kotlin.plugin.serialization' version "1.4.0"
id 'com.github.johnrengelman.shadow' version '6.0.0'
}
apply plugin: 'com.github.johnrengelman.shadow'
group 'com.github.jinserr'
version '0.1.0'
repositories {
mavenCentral()
jcenter()
}
kotlin.target.compilations.all {
kotlinOptions.freeCompilerArgs += "-Xjvm-default=enable"
kotlinOptions.jvmTarget = "1.8"
}
kotlin.sourceSets.all {
languageSettings.useExperimentalAnnotation("kotlin.RequiresOptIn")
}
shadowJar {}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
testCompile group: 'junit', name: 'junit', version: '4.12'
implementation("net.mamoe:mirai-core:1.2.2")
implementation("net.mamoe:mirai-console:1.0-M3")
implementation("io.ktor:ktor-client-serialization-jvm:1.4.0")
testImplementation("net.mamoe:mirai-console-pure:1.0-M3")
}