Skip to main content

Gradle Plugin Usage

To upload your mappings for the current build, once you have added the cloud-inject Gradle plugin, you can run the Gradle task

./gradlew uploadMappingFile<Flavour>

// For example
./gradlew uploadMappingFileRelease

You can check the available upload tasks with gradlew tasks

Use this task in your CI to upload the files:

// build the release app
./gradlew assembleRelease
// upload mapping files
./gradlew uploadMappingRelease