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

Use new AGP api for native symbols upload #592

Merged
merged 5 commits into from
Nov 9, 2023
Merged

Conversation

romtsn
Copy link
Member

@romtsn romtsn commented Nov 7, 2023

📜 Description

  • This was the last remaining thing which was using an older AGP API, now we have proper decoupling per agp-compat source set

💡 Motivation and Context

Closes #109

💚 How did you test it?

Manually + automated

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • No breaking changes

🔮 Next steps

  • Eventually we'd need to configure tasks on the SentryVariant level to have it abstracted away, and then we could even move everything to the common module and it could be shared between Android and Jvm plugins. Probably gonna be part of Support proguard mapping upload for any JVM app #403

@@ -273,8 +284,8 @@ private fun Variant.configureProguardMappingsTasks(
if (isAGP74) {
val variant = AndroidVariant74(this)
val sentryProps = getPropertiesFilePath(project, variant)
val guardsquareEnabled = extension.dexguardEnabled.get()
val isMinifyEnabled = isMinificationEnabled(project, variant, guardsquareEnabled)
val dexguardEnabled = extension.dexguardEnabled.get()
Copy link
Member Author

Choose a reason for hiding this comment

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

This slipped thru in the previous PR, so I just changed it here

@romtsn romtsn merged commit 082c08a into main Nov 9, 2023
17 checks passed
@romtsn romtsn deleted the rz/chore/agp-new-apis branch November 9, 2023 10:10
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.

Support new Android Gradle APIs
2 participants