11apply plugin : ' com.android.library'
2+ apply plugin : ' kotlin-android'
23apply plugin : ' maven'
34apply from : ' ../material-stepper/code_coverage.gradle'
45apply from : ' ../config/quality/quality.gradle'
2930
3031android {
3132 compileSdkVersion project. androidCompileSdkVersion
32- buildToolsVersion (" $androidBuildToolsVersion " )
33+ buildToolsVersion(" $androidBuildToolsVersion " )
3334
3435 defaultConfig {
3536 minSdkVersion project. androidMinSdkVersion
@@ -59,15 +60,18 @@ android {
5960}
6061
6162dependencies {
62- compile ( " com.android.support:appcompat-v7:$androidSupportLibraryVersion " )
63+ compile " com.android.support:appcompat-v7:$androidSupportLibraryVersion "
6364
64- testCompile( " junit:junit:$junitVersion " )
65- testCompile( " org.mockito:mockito-core:$mockitoVersion " )
66- testCompile( " com.squareup.assertj:assertj-android:$assertjVersion " )
65+ testCompile " junit:junit:$junitVersion "
66+ testCompile " org.mockito:mockito-core:$mockitoVersion "
67+ testCompile " com.squareup.assertj:assertj-android:$assertjVersion "
6768 testCompile(" org.robolectric:robolectric:$robolectricVersion " ) {
6869 exclude group : ' commons-logging' , module : ' commons-logging'
6970 exclude group : ' org.apache.httpcomponents' , module : ' httpclient'
7071 }
72+ testCompile " org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlinVersion "
73+ testCompile " org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion "
74+ testCompile " com.nhaarman:mockito-kotlin:$mockitoKotlinVersion "
7175}
7276
7377gradle. taskGraph. beforeTask { Task task ->
@@ -81,7 +85,7 @@ gradle.taskGraph.beforeTask { Task task ->
8185}
8286
8387// Log out test results to console
84- tasks. matching {it instanceof Test }. all {
88+ tasks. matching { it instanceof Test }. all {
8589 testLogging. events = [" failed" , " passed" , " skipped" ]
8690}
8791
0 commit comments