-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (34 loc) · 997 Bytes
/
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
apply plugin: 'kotlin'
apply plugin: 'org.junit.platform.gradle.plugin'
buildscript {
ext {
kotlin_version = '1.1.2'
junit_version = '1.0.0-M4'
}
repositories {
jcenter()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.junit.platform:junit-platform-gradle-plugin:$junit_version"
}
}
repositories {
jcenter()
}
junitPlatform {
filters {
engines {
include 'spek'
}
}
}
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8"
testCompile "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
testCompile "org.jetbrains.spek:spek-api:$kotlin_version"
testCompile "com.winterbe:expekt:0.5.0"
testCompile "org.junit.platform:junit-platform-console:$junit_version"
testRuntime "org.jetbrains.spek:spek-junit-platform-engine:$kotlin_version"
}