Skip to content

Commit

Permalink
[Gradle][MPP] MPP/AGP compatibility: Bump maxSupportedVersion to 7.3
Browse files Browse the repository at this point in the history
^KT-54071 Verification Pending

(cherry picked from commit 2ba7c7b)
  • Loading branch information
sellmair authored and Space committed Sep 19, 2022
1 parent b489e93 commit 1abfeb9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,8 @@ open class KotlinAndroid71GradleIT : KotlinAndroid70GradleIT() {
// Special version added for testing KT-49798
.plus(AGPVersion.fromString("7.1.0-beta02"))
.filter { version -> version >= AGPVersion.v4_2_0 }
// Current Gradle version within kotlin.git is not sufficient to build with higher AGP
.filter { version -> version < AGPVersion.v7_2_2 }

checkedConsumerAGPVersions.forEach { agpVersion ->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ class AGPVersion private constructor(private val versionNumber: VersionNumber) {
val v4_2_0 = fromString("4.2.2")
val v7_0_0 = fromString("7.0.4")
val v7_1_0 = fromString("7.1.2")
val v7_2_2 = fromString("7.2.2")
val v7_3_0 = fromString("7.3.0")

val testedVersions = listOf(v3_6_0, v4_1_0, v4_2_0, v7_0_0, v7_1_0)
val testedVersions = listOf(v3_6_0, v4_1_0, v4_2_0, v7_0_0, v7_1_0, v7_2_2, v7_3_0)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ internal object KotlinMultiplatformAndroidGradlePluginCompatibilityHealthCheck {

val compatibleAndroidGradlePluginVersionRange = AndroidGradlePluginVersionRange(
minSupportedVersion = AndroidGradlePluginVersion(4, 0),
maxSupportedVersion = AndroidGradlePluginVersion(7, 2)
maxSupportedVersion = AndroidGradlePluginVersion(7, 3)
)

/**
Expand Down

0 comments on commit 1abfeb9

Please sign in to comment.