File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 11buildscript {
22 ext. kotlin_version = ' 1.1.51'
3+ ext. jUnit_version = ' 4.12'
4+ ext. mockito_version = ' 1.5.0'
5+ ext. spek_version = ' 1.1.4'
6+ ext. spek_junit_runner_version = ' 1.0.0-RC3'
7+ ext. support_library_version = ' 26.0.0-alpha1'
38
49 repositories {
510 jcenter()
Original file line number Diff line number Diff line change @@ -22,12 +22,22 @@ android {
2222 }
2323 sourceSets {
2424 main. java. srcDirs + = ' src/main/kotlin'
25+ test. java. srcDirs + = ' src/test/kotlin'
2526 }
2627}
2728
2829dependencies {
29- compile ' com.android.support:appcompat-v7:26.0.0-alpha1 '
30+ compile " com.android.support:appcompat-v7:$s upport_library_version "
3031 compile " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
32+
33+ testCompile " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
34+ testCompile " org.jetbrains.kotlin:kotlin-test-junit:$kotlin_version "
35+ testCompile " junit:junit:$jUnit_version "
36+ testCompile " com.nhaarman:mockito-kotlin-kt1.1:$mockito_version "
37+ testCompile " org.jetbrains.spek:spek-api:$spek_version "
38+ testCompile " org.jetbrains.spek:spek-subject-extension:$spek_version "
39+ testCompile " org.jetbrains.spek:spek-junit-platform-engine:$spek_version "
40+ testCompile " org.junit.platform:junit-platform-runner:$spek_junit_runner_version "
3141}
3242
3343// build a jar with source files
You can’t perform that action at this time.
0 commit comments