Skip to content

Conversation

@blasten
Copy link

@blasten blasten commented Apr 16, 2021

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
Copy link
Contributor

dnfield commented Apr 16, 2021

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
Copy link
Author

blasten commented Apr 17, 2021

@dnfield Good point. Done

Copy link
Contributor

@dnfield dnfield left a comment

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

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