-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
57 lines (45 loc) · 1.36 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
plugins {
id 'antlr'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
}
apply plugin: 'java'
apply plugin: 'antlr'
group 'org.example'
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
jcenter()
}
// See https://github.com/gradle/gradle/issues/820
configurations {
compile {
extendsFrom = extendsFrom.findAll { it != configurations.antlr }
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
antlr "org.antlr:antlr4:4.7.1"
implementation "org.antlr:antlr4-runtime:4.7.1"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
dependencies {
compile 'net.dv8tion:JDA:4.1.1_156'
compile 'org.reflections:reflections:0.9.10'
compile 'org.apache.commons:commons-text:1.9'
compile 'org.apache.logging.log4j:log4j-core:2.13.3'
compile 'com.fasterxml.jackson.core:jackson-core:2.11.3'
compile 'com.fasterxml.jackson.core:jackson-databind:2.11.3'
compile 'org.apache.commons:commons-pool2:2.9.0'
compile group: 'log4j', name: 'log4j', version: '1.2.17'
compile group: 'redis.clients', name: 'jedis', version: '3.3.0'
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: '2.4.0'
}
dependencies {
testImplementation 'junit:junit:4.13'
}
compileKotlin.dependsOn generateGrammarSource