mirror of https://github.com/grpc/grpc-java.git
android, cronet, android-interop-testing, example/drop support for android SDK versions older than 16 (#7253)
This commit is contained in:
parent
784e804259
commit
f444b7bcc0
|
|
@ -29,8 +29,7 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
applicationId "io.grpc.android.integrationtest"
|
||||
// API level 14+ is required for TLS since Google Play Services v10.2
|
||||
minSdkVersion 14
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 26
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ android {
|
|||
compileSdkVersion 28
|
||||
defaultConfig {
|
||||
consumerProguardFiles "proguard-rules.txt"
|
||||
minSdkVersion 14
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 28
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
|
@ -31,7 +31,10 @@ dependencies {
|
|||
testImplementation project('::grpc-okhttp')
|
||||
testImplementation libraries.androidx_test
|
||||
testImplementation libraries.junit
|
||||
testImplementation libraries.robolectric
|
||||
testImplementation (libraries.robolectric) {
|
||||
// Unreleased change: https://github.com/robolectric/robolectric/pull/5432
|
||||
exclude group: 'com.google.auto.service', module: 'auto-service'
|
||||
}
|
||||
testImplementation libraries.truth
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -42,7 +42,10 @@ dependencies {
|
|||
|
||||
testImplementation libraries.junit
|
||||
testImplementation libraries.mockito
|
||||
testImplementation libraries.robolectric
|
||||
testImplementation (libraries.robolectric) {
|
||||
// Unreleased change: https://github.com/robolectric/robolectric/pull/5432
|
||||
exclude group: 'com.google.auto.service', module: 'auto-service'
|
||||
}
|
||||
}
|
||||
|
||||
task javadocs(type: Javadoc) {
|
||||
|
|
|
|||
|
|
@ -6,8 +6,7 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
applicationId "io.grpc.helloworldexample"
|
||||
// API level 14+ is required for TLS since Google Play Services v10.2
|
||||
minSdkVersion 14
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 27
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
applicationId "io.grpc.routeguideexample"
|
||||
minSdkVersion 14
|
||||
minSdkVersion 16
|
||||
targetSdkVersion 27
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
|
|
|||
Loading…
Reference in New Issue