File tree Expand file tree Collapse file tree 5 files changed +14
-8
lines changed
integration-tests/mpp/android-module Expand file tree Collapse file tree 5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 88#
99
1010[versions ]
11- agp = " 7.1.0 "
11+ agp = " 7.3.1 "
1212autoService = " 1.1.1"
1313autoValue = " 1.10.1"
1414dagger = " 2.46.1"
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionUrl =https\://services.gradle.org/distributions/gradle-7.6-bin .zip
3+ distributionUrl =https\://services.gradle.org/distributions/gradle-8.3-all .zip
44networkTimeout =10000
55zipStoreBase =GRADLE_USER_HOME
66zipStorePath =wrapper/dists
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ android {
2121 }
2222
2323 compileOptions {
24- sourceCompatibility JavaVersion . VERSION_1_8
25- targetCompatibility JavaVersion . VERSION_1_8
24+ sourceCompatibility JavaVersion . VERSION_11
25+ targetCompatibility JavaVersion . VERSION_11
2626 }
2727
2828 lint {
@@ -37,7 +37,14 @@ android {
3737}
3838
3939kotlin {
40- android()
40+
41+ // The `android()` target is deprecated in Kotlin 1.9.0+,
42+ // but the new `androidTarget()` alternative doesn't exist in KGP 1.8.x.
43+ if (kotlin. coreLibrariesVersion < " 1.9.0" )
44+ android()
45+ else {
46+ androidTarget()
47+ }
4148
4249 sourceSets {
4350 androidMain {
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ android {
2222 }
2323
2424 compileOptions {
25- sourceCompatibility JavaVersion . VERSION_1_8
26- targetCompatibility JavaVersion . VERSION_1_8
25+ sourceCompatibility JavaVersion . VERSION_11
26+ targetCompatibility JavaVersion . VERSION_11
2727 }
2828
2929 lint {
Original file line number Diff line number Diff line change 33
44 <application
55 android : name =" com.squareup.anvil.sample.App"
6- android : allowBackup =" false"
76 android : icon =" @mipmap/ic_launcher"
87 android : label =" @string/app_name"
98 android : roundIcon =" @mipmap/ic_launcher_round"
You can’t perform that action at this time.
0 commit comments