Skip to content

Upgrade to AGP 9 #2052

@MV-GH

Description

@MV-GH

I took a quick attempt at it but AGP 9 is a complex upgrade.

Lots DSL changes in the build.

Some of the plugins don't support AGP 9 yet either which is blocking me atm from going further.

There is also this block that is gone

         postprocessing {
                isRemoveUnusedCode = true
                isObfuscate = false
                isOptimizeCode = true
                isRemoveUnusedResources = true
                proguardFiles("proguard-rules.pro")
            }

There is also this

This version of the Baseline Profile Gradle Plugin was tested with versions below Android
Gradle Plugin version Android Gradle Plugin version 9.0.0-alpha01 and it may not work as intended.
Current version is Android Gradle Plugin version 9.0.0.

This warning can be disabled setting the following property:
baselineProfile {
    warnings {
        maxAgpVersion = false
    }
}

Disabling this warning does not work at all.

I recommend waiting with this upgrade for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions