Skip to content

Commit abc7161

Browse files
authored
Allow AGP 8.3.0 to be used with desugaring enabled (#2364)
## Goal The code used to check `!AgpVersion.isAtLeast(AgpVersion.AGP_8_3_0)` but a refactor turned it into `agpExtension.version <= AgpVersion.AGP_8_3_0`. Restore the old logic so 8.3.0 becomes a valid version again. ## Testing This will be tested in a test that Fran is adding
2 parents ff8b5d3 + b02649e commit abc7161

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embrace-gradle-plugin/src/main/java/io/embrace/android/gradle/plugin/EmbraceGradlePluginDelegate.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class EmbraceGradlePluginDelegate {
110110
val minSdk = agpWrapper.minSdk ?: return
111111

112112
if (minSdk < 26) {
113-
if (agpWrapper.version <= AgpVersion.AGP_8_3_0 ||
113+
if (agpWrapper.version < AgpVersion.AGP_8_3_0 ||
114114
project.getProperty("android.useFullClasspathForDexingTransform").orNull != "true"
115115
) {
116116
error(

0 commit comments

Comments
 (0)