Skip to content

fix: Overwrite Android SDK during build #2031

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

Merged
merged 5 commits into from
Feb 25, 2025
Merged

Conversation

bitsandfoxes
Copy link
Contributor

Fixes #1847

These changes make sure that the SDK now overwrites the Android SDK in the generated gradle project - if already present.

Copy link
Member

@tobias-wilfert tobias-wilfert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubber stamp

File.Copy(file, destinationFile);
}
var fileName = Path.GetFileName(file);
_logger.LogDebug("Copying '{0}'", fileName);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To where? Above we log something with gradlePath but below we do targetPath

Copy link
Member

@bruno-garcia bruno-garcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot to unblock

@bitsandfoxes bitsandfoxes merged commit 4327a3f into main Feb 25, 2025
7 checks passed
@bitsandfoxes bitsandfoxes deleted the fix/android-sdk-copy branch February 25, 2025 11:07
Copy link
Contributor

Fails
🚫 Please consider adding a changelog entry for the next release.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.

Example:

## Unreleased

- Overwrite Android SDK during build ([#2031](https://github.com/getsentry/sentry-unity/pull/2031))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against 3f645dd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SDK not overwriting Android libs when building
4 participants