File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
build-logic/src/main/kotlin Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ object libs {
88 const val junitPlatform = " 1.12.0"
99
1010 const val composeBom = " 2025.03.00"
11+ const val androidXMultidex = " 2.0.1"
1112 const val androidXTestAnnotation = " 1.0.1"
1213 const val androidXTestCore = " 1.6.1"
1314 const val androidXTestMonitor = " 1.7.2"
@@ -76,6 +77,7 @@ object libs {
7677 const val truthJava8Extensions = " com.google.truth.extensions:truth-java8-extension:${versions.truth} "
7778 const val robolectric = " org.robolectric:robolectric:${versions.robolectric} "
7879
80+ const val androidXMultidex = " androidx.multidex:multidex:${versions.androidXMultidex} "
7981 const val androidXTestAnnotation = " androidx.test:annotation:${versions.androidXTestAnnotation} "
8082 const val androidXTestCore = " androidx.test:core:${versions.androidXTestCore} "
8183 const val androidXTestMonitor = " androidx.test:monitor:${versions.androidXTestMonitor} "
Original file line number Diff line number Diff line change @@ -40,15 +40,14 @@ enum class SupportedAgp(
4040}
4141
4242object Android {
43- const val compileSdkVersion = 34
44- const val targetSdkVersion = 34
43+ const val compileSdkVersion = 35
44+ const val targetSdkVersion = 35
4545 const val sampleMinSdkVersion = 21
4646 val testRunnerMinSdkVersion = (Artifacts .Instrumentation .Runner .platform as Android ).minSdk
4747 val testCoreMinSdkVersion = (Artifacts .Instrumentation .Core .platform as Android ).minSdk
4848 val testComposeMinSdkVersion = (Artifacts .Instrumentation .Compose .platform as Android ).minSdk
4949}
5050
51-
5251sealed class Platform (val name : String ) {
5352 object Java : Platform(" java" )
5453 class Android (val minSdk : Int ) : Platform(" android" )
Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ android {
1414 compileSdk = Android .compileSdkVersion
1515
1616 defaultConfig {
17- minSdk = 4
17+ minSdk = 19
18+ multiDexEnabled = true
1819 }
1920
2021 compileOptions {
@@ -58,6 +59,7 @@ tasks.withType<Test> {
5859
5960dependencies {
6061 implementation(project(" :testutil-reflect" ))
62+ implementation(libs.androidXMultidex)
6163
6264 api(libs.androidXTestMonitor)
6365 api(libs.truth)
You can’t perform that action at this time.
0 commit comments