1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-14 07:22:20 +03:00
Files
okhttp/android-test/build.gradle
2019-09-09 12:01:08 +01:00

45 lines
1.2 KiB
Groovy

apply plugin: 'com.android.library'
apply plugin: 'org.jetbrains.kotlin.android'
repositories {
jcenter {
// Required for a dependency of Android lint.
content {
includeGroup 'org.jetbrains.trove4j'
}
}
}
android {
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
compileSdkVersion 29
defaultConfig {
minSdkVersion 21
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}"
implementation project(':okhttp')
testImplementation 'junit:junit:4.12'
androidTestImplementation(project(':okhttp-testing-support')) {
exclude group: 'org.openjsse', module: 'openjsse'
}
androidTestImplementation project(':mockwebserver')
androidTestImplementation project(':okhttp-tls')
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
androidTestImplementation 'com.squareup.moshi:moshi:1.8.0'
androidTestImplementation 'com.squareup.moshi:moshi-kotlin:1.8.0'
}