title: How to execute a task after assembleRelease?
body: <p><a href="https://firebase.google.com/docs/crash/android#uploading_proguard_mapping_files_with_gradle" rel="nofollow noreferrer">Firebase-Crash has a new feature</a>. You can upload your <code>mapping.txt</code> using a Gradle command: <code>./gradlew :app:firebaseUploadReleaseProguardMapping</code>.</p>
  
  <p>I want to automate this process. I want to upload that <code>mapping.txt</code> file to Firebase as soon as I create a release apk.</p>
  
  <p>How can I force Gradle to execute <code>firebaseUploadReleaseProguardMapping</code> after a succesful <code>assembleRelease</code>? Is there an easier way to do this?</p>