Skip to content

Commit

Permalink
Fix task dependency issue with Firebase App Distribution 5.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Jan 25, 2025
1 parent d98f301 commit 5b932d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 9 additions & 0 deletions android/app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import com.google.firebase.appdistribution.gradle.tasks.UploadDistributionTask
import com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsExtension
import com.google.firebase.perf.plugin.FirebasePerfExtension
import com.google.gms.googleservices.GoogleServicesPlugin
Expand All @@ -24,6 +25,14 @@ val googleServicesJsonExists = fileTree("src").matching {
include("**/google-services.json")
}.isEmpty.not()

if (isCiBuild) {
tasks.withType<UploadDistributionTask> {
if (name.endsWith("devDebug", ignoreCase = true)) {
dependsOn("processDevDebugGoogleServices")
}
}
}

googleServices {
missingGoogleServicesStrategy = GoogleServicesPlugin.MissingGoogleServicesStrategy.IGNORE
}
Expand Down
3 changes: 0 additions & 3 deletions kmp/remote/cloud/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import com.apollographql.apollo.annotations.ApolloExperimental

plugins {
id("kstreamlined.kmp.common")
id("kstreamlined.kmp.test")
id("com.apollographql.apollo")
}

@OptIn(ApolloExperimental::class)
apollo {
service("kstreamlined") {
packageName.set("io.github.reactivecircus.kstreamlined.graphql")
Expand Down

0 comments on commit 5b932d4

Please sign in to comment.