Skip to content

Commit

Permalink
Fixed task uploadCrashlyticsMappingFileRelease
Browse files Browse the repository at this point in the history
Took 3 minutes
  • Loading branch information
JulesPvx committed May 28, 2024
1 parent 1202e94 commit 9788206
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsExtension

plugins {
alias(libs.plugins.kotlin.ksp)
alias(libs.plugins.android.application)
Expand Down Expand Up @@ -39,6 +41,12 @@ android {
"proguard-rules.pro",
)

configure<CrashlyticsExtension> {
mappingFileUploadEnabled = true
nativeSymbolUploadEnabled = true
unstrippedNativeLibsDir = "build/intermediates/merged_native_libs/release/out/lib"
}

ndk {
debugSymbolLevel = "FULL"
}
Expand Down
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ subprojects {
}
}

tasks.whenTaskAdded {
if (name == "assembleRelease") {
finalizedBy("uploadCrashlyticsSymbolFileRelease")
}
}

ktlint {
debug.set(false)
version.set(ktlintVersion)
Expand Down

0 comments on commit 9788206

Please sign in to comment.