apply plugin: 'com.android.library' apply plugin: 'com.github.kt3k.coveralls' buildscript { repositories { jcenter() } dependencies { classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.1' } } android { compileSdkVersion 26 defaultConfig { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName project.version consumerProguardFiles 'release-proguard.pro' } packagingOptions { exclude '**/BuildConfig.class' } lintOptions { abortOnError false } buildTypes { debug { testCoverageEnabled = true } } } //ext { // okhttpVersion = '3.9.1' //} dependencies { api "com.android.support:support-annotations:$supportLibVersion" api 'com.parse.bolts:bolts-tasks:1.4.0' api "com.squareup.okhttp3:okhttp:$okhttpVersion" testImplementation 'org.robolectric:robolectric:3.3.2' testImplementation 'org.skyscreamer:jsonassert:1.5.0' testImplementation 'org.mockito:mockito-core:1.10.19' testImplementation "com.squareup.okhttp3:mockwebserver:$okhttpVersion" }