-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
97 lines (77 loc) · 3.14 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
import groovy.xml.MarkupBuilder
import org.yaml.snakeyaml.Yaml
buildscript {
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
}
dependencies {
classpath 'org.jooq:jooq-codegen:3.13.4'
classpath group: 'mysql', name: 'mysql-connector-java', version: '8.0.21'
classpath 'org.yaml:snakeyaml:1.26'
}
}
plugins {
id 'application'
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.6.0'
}
sourceCompatibility = 11
compileKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xmx2048m=strict"]
jvmTarget = "11"
}
}
compileTestKotlin {
kotlinOptions {
freeCompilerArgs = ["-Xjsr2048=strict"]
jvmTarget = "11"
}
}
mainClassName = 'ink.umb.faqbot.MainKt'
group 'org.example'
version '1.0-SNAPSHOT'
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
mavenCentral()
}
}
def CORE_VERSION = '2.12.1'
def CONSOLE_VERSION = "2.0-RC-dev-2"
def LUAMIRAI_VERSION = "0.5.0"
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib"
testCompile group: 'junit', name: 'junit', version: '4.12'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.2'
// implementation group:'net.mamoe', name:'mirai-core',version: '2.0-RC' // 替换为你需要的版本号
// https://mvnrepository.com/artifact/net.mamoe/mirai-core
implementation "net.mamoe:mirai-core:$CORE_VERSION"// 替换为你需要的版本号
implementation 'com.github.ZenLiuCN:ktor_redis:v0.0.1'
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-core
implementation group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.17.1'
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api
implementation group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.17.1'
// https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api
implementation group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.17.1'
// https://mvnrepository.com/artifact/org.yaml/snakeyaml
implementation group: 'org.yaml', name: 'snakeyaml', version: '1.30'
// // https://mvnrepository.com/artifact/org.slf4j/slf4j-log4j12
// compile group: 'org.slf4j', name: 'slf4j-log4j12', version: '1.7.30'
implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0'
implementation 'org.reflections:reflections:0.9.10'
implementation 'org.python:jython-standalone:2.7.3b1'
implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.21'
// https://mvnrepository.com/artifact/org.quartz-scheduler/quartz
implementation group: 'org.quartz-scheduler', name: 'quartz', version: '2.3.2'
implementation "me.liuwj.ktorm:ktorm-core:3.1.0"
implementation 'com.squareup.okhttp3:okhttp:4.10.0'
implementation 'com.google.code.gson:gson:2.9.0'
// https://mvnrepository.com/artifact/org.jsoup/jsoup
implementation group: 'org.jsoup', name: 'jsoup', version: '1.13.1'
}