-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (51 loc) · 1.95 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
buildscript {
ext.kotlin_version = '1.2.30'
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.2'
}
}
group 'net.ilkinulas'
version '1.0-SNAPSHOT'
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'application'
apply plugin: 'java'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
url "https://dl.bintray.com/kotlin/exposed"
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
compile group: 'com.sparkjava', name: 'spark-kotlin', version: '1.0.0-alpha'
compile group: 'org.jetbrains.exposed', name: 'exposed', version: '0.10.1'
compile group: 'com.zaxxer', name: 'HikariCP', version: '2.7.8'
compile group: 'com.h2database', name: 'h2', version: '1.4.196'
compile group: 'mysql', name: 'mysql-connector-java', version: '6.0.6'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.3'
compile group: 'ch.qos.logback', name: 'logback-core', version: '1.2.3'
compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-kotlin', version: '2.9.4.1'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.testcontainers', name: 'mysql', version: '1.8.3'
testCompile group: 'org.testcontainers', name: 'selenium', version: '1.8.3'
testCompile group: 'org.testcontainers', name: 'testcontainers', version: '1.8.3'
testCompile group: 'org.seleniumhq.selenium', name: 'selenium-remote-driver', version: '3.11.0'
testCompile group: 'org.seleniumhq.selenium', name: 'selenium-support', version: '3.11.0'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
mainClassName = 'net.ilkinulas.WebAppKt'
//test {
// maxParallelForks = 8
//}