NearHuscarl / flutter_login

Provides login screen with login/signup functionalities to help speed up development
MIT License
1.48k stars 786 forks source link

Update to Gradle 8.1.1 #454

Open mrcklwhn opened 9 months ago

mrcklwhn commented 9 months ago

After updating to Gradle 8.1.1 the Flutter Login Plugin doenst work anymore.

My build.gradle:

buildscript {
    ext.kotlin_version = '1.7.20'
    repositories {
        google()
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:8.1.1'
        classpath 'com.google.gms:google-services:4.3.10'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}

FAILURE: Build failed with an exception.

Looks like libphonenumber_plugin is a dependency ths isnt updated to Gradle 8.1.1 jet.

Please fix this ASAP.

xuniluser commented 8 months ago

What worked for me is that I deleted the build folder then issued

flutter create .

in the project directory.

ZakBrinlee commented 5 months ago

Has anyone figured out a workaround for this issue? I tried to delete the build folder, ran flutter create . as well as the suggestion here by the package maintainer but to no prevail.