FIRST-Tech-Challenge / FIRST-Tech-Challenge/FtcRobotController

Migrate BuildConfig

Open
#1,384 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.3k
Forks
9.9k
Avg merge
18m
Merged PRs (30d)
1

Description

Android Studio Gives This Warning (see below) but there is no option to do this in the refactor menu.

The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated.
The current default is 'false'.
It will be removed in version 9.0 of the Android Gradle plugin.
To keep using this feature, add the following to your module-level build.gradle files:
android.buildFeatures.buildConfig = true
or from Android Studio, click: `Refactor` > `Migrate BuildConfig to Gradle Build Files`.
Affected Modules: FtcRobotController

Contributor guide

Open the contributing guide

Research direction

Start with the module-level build.gradle files for the affected FtcRobotController module and review the deprecated BuildConfig setting described in the warning. Confirm the migration is complete when the module uses the current Gradle configuration and Android Studio no longer reports this warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
build-system, mobile
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.