-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
54 lines (42 loc) · 1.26 KB
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
java
kotlin("jvm") version "1.3.72"
maven
}
group = "com.zoowii"
version = "1.0.0-dev"
repositories {
mavenLocal()
mavenCentral()
}
val logbackVersion = "1.3.0-alpha5"
tasks.withType<Test> {
this.testLogging {
this.showStandardStreams = true
}
}
dependencies {
compile(kotlin("stdlib-jdk8"))
testCompile("junit", "junit", "4.12")
testCompile("org.jetbrains.kotlin", "kotlin-test", "1.3.50")
compile("org.iq80.leveldb", "leveldb", "0.12")
compile("com.google.guava", "guava", "28.1-jre")
compile("com.alibaba", "fastjson", "1.2.68")
compile("commons-cli", "commons-cli", "1.4")
// slf4j
compile("org.slf4j", "slf4j-api", "1.8.0-beta4")
// testCompile("org.slf4j", "slf4j-simple", "1.8.0-beta4")
compile("ch.qos.logback", "logback-classic", logbackVersion)
compile("ch.qos.logback", "logback-core", logbackVersion)
// google cloud
compile("com.google.cloud", "google-cloud-storage", "1.100.0")
// mysql
testCompile("mysql", "mysql-connector-java", "8.0.19")
}
configure<JavaPluginConvention> {
sourceCompatibility = JavaVersion.VERSION_1_8
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}