When I run ./gradlew :mobile:firebaseUploadReleaseProguardMapping --stacktrace
in output I see, that it's not only uploads mapping file, but does project building. It takes about 2-3 minutes to complete, but it doesn't generates APK, so it just wasting my time. Also, I'm executing this command after generating signed apk which will be published and often forget to do this.
Does it possible to compile, sign APK and upload mapping file in one shot? I would also add publishing APK to Google Play to it.
UPDATE:
I've found out, that command for upload really builds and signs APK, but it is generated in different folder. When I use Build -> Generate Signed APK it lays in <project_root>/mobile/mobile-release.apk
but with gradlew
command it appears in <project_root>/mobile/build/outputs/apk/mobile-release.apl