Skip to content

Update Gradle plugin to 3.3.0 #694

@aforcier

Description

@aforcier

As of this writing, 3.3.0 is the latest gradle plugin. We should update the project to use it. However, at the moment updating generates some build warnings.

The first warning, WARNING: API 'variant.getGenerateBuildConfig' is obsolete, can be resolved by using the new provider config for this Crashlytics task:

android.applicationVariants.all { variant ->
    variant.generateBuildConfig.dependsOn(generateCrashlyticsConfig)
}

to

android.applicationVariants.all { variant ->
    variant.generateBuildConfigProvider.configure {
        dependsOn(generateCrashlyticsConfig)
    }
}

The next warning requires the Fabric gradle plugin to be updated to support 3.3.0 and fix its internal warnings - we should keep an eye on this changelog: https://docs.fabric.io/android/changelog.html#fabric-gradle-plugin, then update the version we use along with our Gradle version.

Metadata

Metadata

Assignees

Labels

category: toolingAnything that involves building & maintaining the project, including scripts, `Fastfile`, etc.type: enhancementA request for an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions