koji-1009 / flutter_auth_ui

A Flutter plugin for using the Firebase Auth UI with Dart in Flutter apps. (not official plugin.)
https://pub.dev/packages/flutter_auth_ui
36 stars 10 forks source link

Gradle buildfeature #48

Closed jeanmatthieud closed 3 years ago

jeanmatthieud commented 3 years ago

Hi,

The last release has some new entries in the android gradle file:

buildFeatures {
    resValues true
}

Resulting in a build error:

Build file 'F:\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_auth_ui-2.0.1\android\build.gradle' line: 35

* What went wrong:
A problem occurred evaluating project ':flutter_auth_ui'.
> Could not find method buildFeatures() for arguments [build_93zr2sf3wpclqxx72mm0g7tri$_run_closure2$_closure7@3f52c354] on object of type com.android.build.gradle.LibraryExtension.

It seems that buildFeatures as been introduced in Gradle plugin 4.0, which is not officially supported by Flutter.

koji-1009 commented 3 years ago

It works well, so please update.

jeanmatthieud commented 3 years ago

Never mind, the flutter sample uses

classpath 'com.android.tools.build:gradle:4.1.0'