Skip to content

Commit

Permalink
Make minSdk and targetSdk versions consistent across Gradle tests.
Browse files Browse the repository at this point in the history
The `minSdk` is set to `16` since we test some of our artifacts on API 16.

RELNOTES=N/A
PiperOrigin-RevId: 588910365
  • Loading branch information
bcorso authored and Dagger Team committed Dec 7, 2023
1 parent f4b4519 commit 45d3b87
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion javatests/artifacts/dagger-android-ksp/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {
compileSdkVersion 33
defaultConfig {
applicationId 'dagger.android.ksp'
minSdk 21
minSdk 16
targetSdk 33
versionCode 1
versionName "1.0"
Expand Down
8 changes: 4 additions & 4 deletions javatests/artifacts/dagger-android/simple/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 32
buildToolsVersion "32.0.0"
compileSdkVersion 33
buildToolsVersion "33.0.0"

defaultConfig {
applicationId "dagger.android.simple"
minSdkVersion 15
targetSdkVersion 32
minSdkVersion 16
targetSdkVersion 33
versionCode 1
versionName "1.0"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {

defaultConfig {
applicationId "dagger.hilt.android.simple"
minSdkVersion 21
minSdkVersion 16
targetSdkVersion 33
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ android {

defaultConfig {
applicationId "dagger.hilt.android.simple"
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
2 changes: 1 addition & 1 deletion javatests/artifacts/hilt-android/simple/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ android {

defaultConfig {
applicationId "dagger.hilt.android.simple"
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
buildToolsVersion "33.0.0"

defaultConfig {
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ android {
buildToolsVersion "33.0.0"

defaultConfig {
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ android {
buildToolsVersion "33.0.0"

defaultConfig {
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ android {
buildToolsVersion "33.0.0"

defaultConfig {
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 33
testInstrumentationRunner "dagger.hilt.android.simple.uitest.TestRunner"
missingDimensionStrategy 'tier', 'free'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android {
buildToolsVersion "33.0.0"

defaultConfig {
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ android {

defaultConfig {
applicationId "dagger.hilt.android.simpleKotlin"
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
buildToolsVersion "33.0.0"

defaultConfig {
minSdkVersion 15
minSdkVersion 16
targetSdkVersion 33
versionCode 1
versionName "1.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ android {
compileSdkVersion 33
defaultConfig {
applicationId 'dagger.hilt.viewmodel'
minSdk 21
minSdk 16
targetSdk 33
versionCode 1
versionName "1.0"
Expand Down

0 comments on commit 45d3b87

Please sign in to comment.