-
Notifications
You must be signed in to change notification settings - Fork 652
Open
Labels
Description
[REQUIRED] Describe your environment
- Android Studio version: Android Studio Otther 2025.2.1 Patch 1
- Firebase Component: Firebase App Distribution
- Component version: 5.2.0
[REQUIRED] Describe the problem
Steps to reproduce:
Implement Firebase 34.6.0 and App Distribution 5.2.0 and configure AppDistributionExtensions in a convention plugin in build-logic.
What happened? How can we make the problem occur? This could be a description, log/console output,
etc.
Android Studio shows a warning below:
Detected use of deprecated firebaseAppDistribution { } block. If you used this block in your root project, switch to firebaseAppDistributionDefault { } instead. If you used this block in a productFlavors or buildTypes, import
com.google.firebase.appdistribution.gradle.firebaseAppDistributionto fix this issue.
Relevant Code:
import com.google.firebase.appdistribution.gradle.AppDistributionExtension
configure<AppDistributionExtension> {
serviceCredentialsFile = "$rootDir/firebase_credentials.json"
groups = System.getenv(FIREBASE_TESTER_GROUPS)
releaseNotes = System.getenv(FIREBASE_RELEASE_NOTES)
}