Skip to content

Standardize how Java8 is set in gradle files - #80600

Merged
fluttergithubbot merged 8 commits into
flutter:masterfrom
blasten:java_8_files
Apr 20, 2021
Merged

fluttergithubbot merged 8 commits into
flutter:masterfrom
blasten:java_8_files

Conversation

@blasten

@blasten blasten commented Apr 16, 2021

Copy link
Copy Markdown

This is set from the plugin, but typically this is set from a user-defined gradle file.

This PR standardizes the way Java8 is set across the Gradle files. It also updates the template files for app, plugin and modules projects.

Fixes: #80442

@blasten
blasten requested a review from dnfield April 16, 2021 22:22
@flutter-dashboard flutter-dashboard Bot added a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) d: examples Sample code and demos c: contributor-productivity Team-specific productivity, code health, technical debt. tool Affects the "flutter" command-line tool. See also t: labels. labels Apr 16, 2021
@google-cla google-cla Bot added the cla: yes label Apr 16, 2021
@dnfield

dnfield commented Apr 16, 2021

Copy link
Copy Markdown
Contributor

Similar question as for @hamdikahloun's PR - this should really have a test that would otherwise fail, e.g. create a plugin, use some Java 1.8 feature in the source for it, and make sure it can compile.

@blasten

blasten commented Apr 17, 2021

Copy link
Copy Markdown
Author

@dnfield Good point. Done

@dnfield dnfield left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as long as tests are passing

@fluttergithubbot
fluttergithubbot merged commit 42f21fd into flutter:master Apr 20, 2021
@jmagman jmagman mentioned this pull request Jul 21, 2021
21 of 22 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: accessibility Accessibility, e.g. VoiceOver or TalkBack. (aka a11y) c: contributor-productivity Team-specific productivity, code health, technical debt. d: examples Sample code and demos tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flutter create --template=plugin does not set the java 8 requirement

3 participants