Skip to content

False alarm when using firebaseAppDistribution in a convention plugin #7573

@nuhkoca

Description

@nuhkoca

[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.firebaseAppDistribution to 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)
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions