Configuration of release name and distribution
See original GitHub issueProblem Statement
Currently, the only way to override defaults for the plugin is via SENTRY_RELEASE
and SENTRY_DIST
environment variables. I believe, this is against the Gradle’s best practices for project configuration, and it creates pratical problems when app version and build number come from the app’s build.gradle
file, as there is no clean way to override from within build.gradle
the values which Sentry’s Gradle Plugin will get from System.getenv(...)
call during configuration.
Solution Brainstorm
I suggest to add a way to provide custom release name and build number to the plugin via gradle properties. I am mostly noob in Gradle and Java, thus I’ll leave implementation details for more knowledgeble people 😃
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Set debug and release configurations - Visual Studio (Windows)
Visual Studio projects have separate release and debug configurations for your program. You build the debug version for debugging and the ...
Read more >Overview of Configuring Releases - ADM Help Centers
Overview of Configuring Releases ; General information: Includes basic information concerning the environment, such as the environment name and ...
Read more >Distributing Release Bundles - JFrog Documentation
JFrog Distribution enables creating and distributing Release Bundles from the Artifactory service. Each Release Bundle may only contain ...
Read more >Configuring SNADS and Setting Up SNA Distribution Services
The SNA distribution services (SNADS) function automatically directs distributions with the local system as the destination system name, so the ...
Read more >QoS: Policing and Shaping Configuration Guide, Cisco IOS ...
QoS: Policing and Shaping Configuration Guide, Cisco IOS XE Release 3S -Distribution of Remaining ... As the name implies, a ratio is used....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Its already possible to do some sort of config with
project.ext.sentryCli
on Gradle, so this one can fit in there.@marandaneto sure, though as the documentation page you pointed says:
To which I agree, as it is easier just to set these env vars, than to figure out how to correctly configure CLI for source maps upload. And, even if somebody is to upload them manually, the first step for android is to “remove the Gradle integration”, at which point one thinks “why it is not possible to just configure that integration the Gradle way to use desired values” 😉