Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android, cronet, android-interop-testing, example/drop support for android SDK versions older than 16 #7253

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions android-interop-testing/build.gradle
Expand Up @@ -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"
Expand Down
7 changes: 5 additions & 2 deletions android/build.gradle
Expand Up @@ -11,7 +11,7 @@ android {
compileSdkVersion 28
defaultConfig {
consumerProguardFiles "proguard-rules.txt"
minSdkVersion 14
minSdkVersion 16
targetSdkVersion 28
versionCode 1
versionName "1.0"
Expand All @@ -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
}

Expand Down
5 changes: 4 additions & 1 deletion cronet/build.gradle
Expand Up @@ -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) {
Expand Down
3 changes: 1 addition & 2 deletions examples/android/helloworld/app/build.gradle
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion examples/android/routeguide/app/build.gradle
Expand Up @@ -6,7 +6,7 @@ android {

defaultConfig {
applicationId "io.grpc.routeguideexample"
minSdkVersion 14
minSdkVersion 16
targetSdkVersion 27
versionCode 1
versionName "1.0"
Expand Down