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
10 changes: 5 additions & 5 deletions .github/workflows/e2e_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
name: Gradle Cache
with:
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'
- uses: hendrikmuhs/ccache-action@ca3acd2731eef11f1572ccb126356c2f9298d35e
name: Xcode Compile Cache
with:
Expand Down Expand Up @@ -189,7 +189,7 @@ jobs:
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'
- uses: hendrikmuhs/ccache-action@ca3acd2731eef11f1572ccb126356c2f9298d35e
name: Xcode Compile Cache
with:
Expand Down Expand Up @@ -258,7 +258,7 @@ jobs:
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
with:
channel: 'stable'
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8
name: Install Node.js 16
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firebase_firestore_odm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
- uses: actions/setup-java@cd89f46ac9d01407894225f350157564c9c7cee2
with:
distribution: 'temurin'
java-version: '11'
java-version: '17'
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
with:
channel: 'stable'
Expand Down
23 changes: 16 additions & 7 deletions packages/cloud_firestore/cloud_firestore/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.0.1'
classpath 'com.android.tools.build:gradle:8.1.2'
}
}

Expand Down Expand Up @@ -39,18 +39,27 @@ android {
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.firestore'
}
compileSdkVersion 31
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

compileSdk 33

defaultConfig {
minSdkVersion 19
minSdk 19
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

buildFeatures {
buildConfig true
}

lintOptions {
disable 'InvalidPackage'
}

dependencies {
api firebaseCoreProject
implementation platform("com.google.firebase:firebase-bom:${getRootProjectExtOrCoreProperty("FirebaseSDKVersion", firebaseCoreProject)}")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,29 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 33
namespace 'io.flutter.plugins.firebase.firestore.example'

compileSdk 33

defaultConfig {
applicationId "io.flutter.plugins.firebase.firestore.example"
minSdk 21
targetSdk 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '1.8'
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

defaultConfig {
applicationId "io.flutter.plugins.firebase.firestore.example"
minSdkVersion 21
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName

main.java.srcDirs += 'src/main/kotlin'
}

buildTypes {
Expand All @@ -60,13 +61,12 @@ android {
signingConfig signingConfigs.debug
}
}
namespace 'io.flutter.plugins.firebase.firestore.example'
}

flutter {
source '../..'
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.android.tools.build:gradle:8.1.2'
// START: FlutterFire Configuration
classpath 'com.google.gms:google-services:4.3.15'
// END: FlutterFire Configuration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
19 changes: 13 additions & 6 deletions packages/cloud_functions/cloud_functions/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.0.1'
classpath 'com.android.tools.build:gradle:8.1.2'
}
}

Expand Down Expand Up @@ -40,23 +40,30 @@ android {
namespace 'io.flutter.plugins.firebase.functions'
}

compileSdkVersion 31
compileSdk 33

defaultConfig {
minSdk 19
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
defaultConfig {
minSdkVersion 16
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
buildFeatures {
buildConfig = true
}

lintOptions {
disable 'InvalidPackage'
}

dependencies {
api firebaseCoreProject
implementation platform("com.google.firebase:firebase-bom:${getRootProjectExtOrCoreProperty("FirebaseSDKVersion", firebaseCoreProject)}")
implementation 'com.google.firebase:firebase-functions'
implementation 'androidx.annotation:annotation:1.0.0'
implementation 'androidx.annotation:annotation:1.7.0'
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
namespace 'io.flutter.plugins.firebase.functions.example'
compileSdk 33

compileSdk 33

defaultConfig {
defaultConfig {
applicationId "io.flutter.plugins.firebase.functions.example"
minSdkVersion 16
targetSdkVersion 33
Expand All @@ -38,16 +38,17 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

lint {
disable 'InvalidPackage'
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
lint {
disable 'InvalidPackage'
}
}

flutter {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
buildscript {
repositories {
google()
jcenter()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:8.0.1'
classpath 'com.android.tools.build:gradle:8.1.2'
classpath 'com.google.gms:google-services:4.3.15'
}
}

allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
28 changes: 17 additions & 11 deletions packages/firebase_analytics/firebase_analytics/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.0.1'
classpath 'com.android.tools.build:gradle:8.1.2'
}
}

Expand Down Expand Up @@ -39,27 +39,33 @@ android {
if (project.android.hasProperty("namespace")) {
namespace 'io.flutter.plugins.firebase.analytics'
}
compileSdkVersion 31

compileSdk 33

defaultConfig {
minSdkVersion 19
minSdk 19
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

buildFeatures {
buildConfig true
}

lintOptions {
disable 'InvalidPackage'
disable 'InvalidPackage'
}

dependencies {
api firebaseCoreProject
implementation platform("com.google.firebase:firebase-bom:${getRootProjectExtOrCoreProperty("FirebaseSDKVersion", firebaseCoreProject)}")
implementation 'com.google.firebase:firebase-analytics'
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'androidx.annotation:annotation:1.7.0'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}


apply from: file("./user-agent.gradle")
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false
android.nonFinalResIds=false
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,22 @@ apply plugin: 'com.google.gms.google-services'

android {
namespace 'io.flutter.plugins.firebase.analytics.example'
compileSdkVersion 33

lintOptions {
disable 'InvalidPackage'
}
compileSdk 33

defaultConfig {
applicationId "io.flutter.plugins.firebase.analytics.example"
minSdkVersion 21
targetSdkVersion 33
minSdk 21
targetSdk 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

lintOptions {
disable 'InvalidPackage'
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
Expand Down

This file was deleted.

Loading