Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace configSentryRelease task with processResources configuration #4401

Conversation

kwvanderlinde
Copy link
Collaborator

@kwvanderlinde kwvanderlinde commented Nov 15, 2023

Identify the Bug or Feature request

Addresses #4399

Description of the Change

This avoids dirtying the src/ directory with build artifacts, thus introducing unexpected dependencies between tasks. The :run task naturally no longer depends on :spotlessCheck in any way.

Possible Drawbacks

Devs will need to do a one-time deletion of the src/main/resources/sentry.properties build artifact as it is not being tracked by git.

Documentation Notes

N/A

Release Notes

N/A


This change is Reviewable

This avoids dirtying the `src/` directory with build artifacts, thus introducing unexpected dependencies between
tasks. The `:run` task naturally no longer depends on `:spotlessCheck` in any way.

The `src/main/resources/sentry.properties` file is no longer ignored by git as it should not be generated by the build
anymore. If the file is present in a dev tree, it should be deleted.
@cwisniew cwisniew added the refactor Refactoring the code for optimal awesomeness. label Nov 15, 2023
@cwisniew cwisniew added this pull request to the merge queue Nov 15, 2023
Merged via the queue into RPTools:develop with commit eab3776 Nov 15, 2023
4 checks passed
@kwvanderlinde kwvanderlinde deleted the refactor/4399-avoid-writing-sentry-config-to-src-dir branch November 16, 2023 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactoring the code for optimal awesomeness.
Projects
Development

Successfully merging this pull request may close these issues.

3 participants