-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
35 lines (28 loc) · 1.09 KB
/
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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.4.21'
id 'java'
id 'net.mamoe.mirai-console' version '2.6.1'
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_14
targetCompatibility = JavaVersion.VERSION_14
}
group = 'LingDong'
repositories {
maven { url("https://maven.aliyun.com/repository/public") }
mavenCentral()
}
def miraiCoreVersion = "2.6.1" // 2.0.0
def miraiConsoleVersion = "2.6.1" // 2.0.0
dependencies {
// compileOnly 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
// compileOnly "net.mamoe:mirai-core:$miraiCoreVersion"
// compileOnly "net.mamoe:mirai-console:$miraiConsoleVersion"
// compileOnly "net.mamoe:mirai-console-terminal:$miraiConsoleVersion"
compileOnly "net.mamoe:mirai-core-api:$miraiCoreVersion"
compile fileTree(dir:'lib', include: ['*jar'])
// testImplementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8'
testImplementation "net.mamoe:mirai-core:$miraiCoreVersion"
// testImplementation "net.mamoe:mirai-console:$miraiConsoleVersion"
// testImplementation "net.mamoe:mirai-console-terminal:$miraiConsoleVersion"
}