Skip to content

Commit 45d3b87

Browse files
bcorsoDagger Team
authored andcommitted
Make minSdk and targetSdk versions consistent across Gradle tests.
The `minSdk` is set to `16` since we test some of our artifacts on API 16. RELNOTES=N/A PiperOrigin-RevId: 588910365
1 parent f4b4519 commit 45d3b87

File tree

13 files changed

+16
-16
lines changed

13 files changed

+16
-16
lines changed

javatests/artifacts/dagger-android-ksp/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ android {
2525
compileSdkVersion 33
2626
defaultConfig {
2727
applicationId 'dagger.android.ksp'
28-
minSdk 21
28+
minSdk 16
2929
targetSdk 33
3030
versionCode 1
3131
versionName "1.0"

javatests/artifacts/dagger-android/simple/app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
apply plugin: 'com.android.application'
1818

1919
android {
20-
compileSdkVersion 32
21-
buildToolsVersion "32.0.0"
20+
compileSdkVersion 33
21+
buildToolsVersion "33.0.0"
2222

2323
defaultConfig {
2424
applicationId "dagger.android.simple"
25-
minSdkVersion 15
26-
targetSdkVersion 32
25+
minSdkVersion 16
26+
targetSdkVersion 33
2727
versionCode 1
2828
versionName "1.0"
2929
}

javatests/artifacts/hilt-android/pluginMarker/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ android {
2525

2626
defaultConfig {
2727
applicationId "dagger.hilt.android.simple"
28-
minSdkVersion 21
28+
minSdkVersion 16
2929
targetSdkVersion 33
3030
}
3131

javatests/artifacts/hilt-android/simple/app-java-only/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ android {
2323

2424
defaultConfig {
2525
applicationId "dagger.hilt.android.simple"
26-
minSdkVersion 15
26+
minSdkVersion 16
2727
targetSdkVersion 33
2828
versionCode 1
2929
versionName "1.0"

javatests/artifacts/hilt-android/simple/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ android {
4848

4949
defaultConfig {
5050
applicationId "dagger.hilt.android.simple"
51-
minSdkVersion 15
51+
minSdkVersion 16
5252
targetSdkVersion 33
5353
versionCode 1
5454
versionName "1.0"

javatests/artifacts/hilt-android/simple/deep-android-lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
buildToolsVersion "33.0.0"
99

1010
defaultConfig {
11-
minSdkVersion 15
11+
minSdkVersion 16
1212
targetSdkVersion 33
1313
versionCode 1
1414
versionName "1.0"

javatests/artifacts/hilt-android/simple/earlyentrypoint/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ android {
88
buildToolsVersion "33.0.0"
99

1010
defaultConfig {
11-
minSdkVersion 15
11+
minSdkVersion 16
1212
targetSdkVersion 33
1313
versionCode 1
1414
versionName "1.0"

javatests/artifacts/hilt-android/simple/feature/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ android {
2424
buildToolsVersion "33.0.0"
2525

2626
defaultConfig {
27-
minSdkVersion 15
27+
minSdkVersion 16
2828
targetSdkVersion 33
2929
versionCode 1
3030
versionName "1.0"

javatests/artifacts/hilt-android/simple/uitest/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ android {
2222
buildToolsVersion "33.0.0"
2323

2424
defaultConfig {
25-
minSdkVersion 15
25+
minSdkVersion 16
2626
targetSdkVersion 33
2727
testInstrumentationRunner "dagger.hilt.android.simple.uitest.TestRunner"
2828
missingDimensionStrategy 'tier', 'free'

javatests/artifacts/hilt-android/simpleKotlin/android-library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ android {
1010
buildToolsVersion "33.0.0"
1111

1212
defaultConfig {
13-
minSdkVersion 15
13+
minSdkVersion 16
1414
targetSdkVersion 33
1515
versionCode 1
1616
versionName "1.0"

0 commit comments

Comments
 (0)