The New Relic Gradle plugin extension allows you to configure the behavior of plugin tasks executed during Gradle builds. Create a plugin extension in the
build.gradle files that apply the New Relic plugin, then add any of the following configuration options:
Generate unique build IDs for each app variant. Default:
Specify which variant build types should report ProGuard maps to New Relic. Default:
Exclude specific variants from instrumentation during builds. Default: 'None'
Here are some simple examples showing how to apply plugin configuration options to the agent:
If you need more help, check out these support and learning resources:
- Browse the Explorers Hub to get help from the community and join in discussions.
- Find answers on our sites and learn how to use our support portal.
- Run New Relic Diagnostics, our troubleshooting tool for Linux, Windows, and macOS.
- Review New Relic's data security and licenses documentation.