google / secrets-gradle-plugin

A Gradle plugin for providing your secrets to your Android project.
Apache License 2.0
1.13k stars 99 forks source link

Error while updating dependency to 2.0.0 #42

Closed bhavinmdesai closed 2 years ago

bhavinmdesai commented 3 years ago

After I update the dependency version from 1.3.0 to 2.0.0, I am getting following error after Gradle sync

Unable to load class 'com.android.build.api.variant.AndroidComponentsExtension'.

This is an unexpected error. Please file a bug containing the idea.log file.

Additional information:

nsekhar90 commented 3 years ago

having the same issue

arriolac commented 2 years ago

What version of AGP are you using? 2.0.0 requires AGP version 7.0.0

In your project-level build.gradle file:

buildscript {
    dependencies {
        classpath "com.android.tools.build:gradle:7.0.0"
    }
}
arriolac commented 2 years ago

@bhavinmdesai and @nsekhar90 following up, is this still an issue for both of you?

bhavinmdesai commented 2 years ago

@arriolac Tried on 7.0.2 and it is working as expected.