Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/cloud_firestore/cloud_firestore/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.cloudfirestore'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.cloudfirestore'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -35,7 +35,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.firestore'
namespace = 'io.flutter.plugins.firebase.firestore'
}

compileSdkVersion project.ext.compileSdk
Expand All @@ -51,7 +51,7 @@ android {
}

buildFeatures {
buildConfig true
buildConfig = true
}

lintOptions {
Expand Down
6 changes: 3 additions & 3 deletions packages/cloud_functions/cloud_functions/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.cloudfunctions'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.cloudfunctions'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -44,7 +44,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.functions'
namespace = 'io.flutter.plugins.firebase.functions'
}

compileSdkVersion project.ext.compileSdk
Expand Down
6 changes: 3 additions & 3 deletions packages/firebase_ai/firebase_ai/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.ai'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.ai'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -41,7 +41,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {

android {
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.ai'
namespace = 'io.flutter.plugins.firebase.ai'
}

compileSdkVersion project.ext.compileSdk
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.analytics'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.analytics'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -44,7 +44,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.analytics'
namespace = 'io.flutter.plugins.firebase.analytics'
}

compileSdkVersion project.ext.compileSdk
Expand All @@ -65,7 +65,7 @@ android {
}

buildFeatures {
buildConfig true
buildConfig = true
}

lintOptions {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.appcheck'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.appcheck'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -44,7 +44,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.appcheck'
namespace = 'io.flutter.plugins.firebase.appcheck'
}

compileSdkVersion project.ext.compileSdk
Expand All @@ -65,7 +65,7 @@ android {
}

buildFeatures {
buildConfig true
buildConfig = true
}

lintOptions {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.installations.firebase_app_installations'
version '1.0'
group = 'io.flutter.plugins.firebase.installations.firebase_app_installations'
version = '1.0'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -48,7 +48,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.installations.firebase_app_installations'
namespace = 'io.flutter.plugins.firebase.installations.firebase_app_installations'
}

compileSdkVersion project.ext.compileSdk
Expand All @@ -69,7 +69,7 @@ android {
}

buildFeatures {
buildConfig true
buildConfig = true
}

dependencies {
Expand Down
8 changes: 4 additions & 4 deletions packages/firebase_auth/firebase_auth/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.auth'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.auth'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -44,7 +44,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.auth'
namespace = 'io.flutter.plugins.firebase.auth'
}

compileSdkVersion project.ext.compileSdk
Expand All @@ -65,7 +65,7 @@ android {
}

buildFeatures {
buildConfig true
buildConfig = true
}

lintOptions {
Expand Down
8 changes: 4 additions & 4 deletions packages/firebase_core/firebase_core/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.core'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.core'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -37,7 +37,7 @@ def getRootProjectExtOrDefaultProperty(name) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.core'
namespace = 'io.flutter.plugins.firebase.core'
}

compileSdk project.ext.compileSdk
Expand All @@ -58,7 +58,7 @@ android {
}

buildFeatures {
buildConfig true
buildConfig = true
}

lintOptions {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.crashlytics'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.crashlytics'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -44,7 +44,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.crashlytics'
namespace = 'io.flutter.plugins.firebase.crashlytics'
}

compileSdkVersion project.ext.compileSdk
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.database'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.database'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -44,7 +44,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.database'
namespace = 'io.flutter.plugins.firebase.database'
}

compileSdkVersion project.ext.compileSdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ android {
applicationId = "io.flutter.plugins.firebase.database.example"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion Math.max(flutter.minSdkVersion, 24)
minSdkVersion = Math.max(flutter.minSdkVersion, 24)
targetSdk = flutter.targetSdkVersion
versionCode = flutterVersionCode.toInteger()
versionName = flutterVersionName
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.inappmessaging'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.inappmessaging'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -48,7 +48,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.inappmessaging'
namespace = 'io.flutter.plugins.firebase.inappmessaging'
}

compileSdkVersion project.ext.compileSdk
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebasemessaging'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebasemessaging'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -36,7 +36,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.messaging'
namespace = 'io.flutter.plugins.firebase.messaging'
}

compileSdkVersion project.ext.compileSdk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ android {
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
// Require for flutter_notifications to work on sdk 21+ after AGP upgrade.
coreLibraryDesugaringEnabled true
coreLibraryDesugaringEnabled = true
}

defaultConfig {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebaseperformance'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebaseperformance'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -44,7 +44,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.performance'
namespace = 'io.flutter.plugins.firebase.performance'
}

compileSdkVersion project.ext.compileSdk
Expand All @@ -65,7 +65,7 @@ android {
}

buildFeatures {
buildConfig true
buildConfig = true
}

lintOptions {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.firebaseremoteconfig'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.firebaseremoteconfig'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -44,7 +44,7 @@ def getRootProjectExtOrCoreProperty(name, firebaseCoreProject) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.firebaseremoteconfig'
namespace = 'io.flutter.plugins.firebase.firebaseremoteconfig'
}

compileSdkVersion project.ext.compileSdk
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'io.flutter.plugins.firebase.storage'
version '1.0-SNAPSHOT'
group = 'io.flutter.plugins.firebase.storage'
version = '1.0-SNAPSHOT'

apply plugin: 'com.android.library'
apply from: file("local-config.gradle")
Expand Down Expand Up @@ -52,7 +52,7 @@ if (!builtInKotlin) {
android {
// Conditional for compatibility with AGP <4.2.
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.storage'
namespace = 'io.flutter.plugins.firebase.storage'
}

compileSdkVersion project.ext.compileSdk
Expand Down
4 changes: 2 additions & 2 deletions tests/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ android {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
coreLibraryDesugaringEnabled true
coreLibraryDesugaringEnabled = true
}

defaultConfig {
applicationId = "io.flutter.plugins.firebase.tests"
// Firebase Android BoM 35 requires API 24.
minSdkVersion Math.max(flutter.minSdkVersion, 24)
minSdkVersion = Math.max(flutter.minSdkVersion, 24)
targetSdk = 35
versionCode = flutterVersionCode.toInteger()
versionName = flutterVersionName
Expand Down
Loading