-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
58 lines (43 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
57
58
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id 'org.jruyi.thrift' version '0.4.1'
}
repositories {
mavenCentral()
mavenLocal()
jcenter()
}
group 'page.parekh'
version '1.0-SNAPSHOT'
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.jetbrains.kotlin:kotlin-reflect"
implementation 'org.junit.jupiter:junit-jupiter-engine:5.6.0'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.0'
implementation 'redis.clients:jedis:3.2.0'
compile 'io.github.jupf.staticlog:staticlog:2.2.0'
compile 'org.jgrapht:jgrapht-core:1.4.0'
compile group: 'org.apache.thrift', name: 'libthrift', version: '0.13.0'
compile group: 'javax.annotation', name: 'javax.annotation-api', version: '1.3.2'
// https://mvnrepository.com/artifact/org.apache.avro/avro
compile group: 'org.apache.avro', name: 'avro', version: '1.9.2'
implementation 'com.google.code.gson:gson:2.8.6'
}
sourceCompatibility = "11.0.5"
test {
// Enable JUnit 5 (Gradle 4.6+).
useJUnitPlatform()
// Always run tests, even when nothing changed.
dependsOn 'cleanTest'
// Show test results.
testLogging {
events "passed", "skipped", "failed"
}
}
compileKotlin {
kotlinOptions.jvmTarget = "11"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "11"
}