-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (45 loc) · 1.42 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
buildscript {
ext.kotlin_version = '1.2.31'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'java'
}
group 'com.w11k'
version '1.0-SNAPSHOT'
apply plugin: 'kotlin'
sourceCompatibility = 1.8
repositories {
mavenCentral()
}
dependencies {
// kotlin
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
//Junit
test.useJUnitPlatform()
testImplementation "org.junit.jupiter:junit-jupiter-params:5.0.0"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.0.0"
testRuntimeOnly "org.junit.vintage:junit-vintage-engine:4.12.0"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.0.0"
//docker
testCompile("com.github.faustxvi:junit5-docker:1.0.0-RC5")
testCompile group: 'org.testcontainers', name: 'testcontainers', version: '1.7.0'
compile group: 'org.rnorth', name: 'tcp-unix-socket-proxy', version: '1.0.1'
//db
compile group: 'org.postgresql', name: 'postgresql', version: '42.2.2'
compile group: 'com.zaxxer', name: 'HikariCP', version: '3.1.0'
compile group: 'org.flywaydb', name: 'flyway-core', version: '5.0.7'
//container support
compile group: 'org.testcontainers', name: 'postgresql', version: '1.7.0'
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}