-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Populate events with dependencies metadata #396
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, please check my comments!
plugin-build/src/main/kotlin/io/sentry/android/gradle/util/SentryPluginUtils.kt
Outdated
Show resolved
Hide resolved
...build/src/main/kotlin/io/sentry/android/gradle/tasks/SentryExternalDependenciesReportTask.kt
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only gave this a quick review. LGTM just one question regarding the hard coded main
source set.
val javaExtension = project.extensions.getByType(JavaPluginExtension::class.java) | ||
|
||
val sentryResDir = project.layout.buildDirectory.dir("generated${sep}sentry") | ||
javaExtension.sourceSets.getByName("main").resources { sourceSet -> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
m
Should we also allow for devs to configure the source set they want?
Maybe even support multiple and have listOf("main")
as default?
This could be a separate issue as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, but what would be the usecase? All the sourcesets get packaged into the final jar anyway, and that's what we're interested in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking about people renaming the source sets because they're following some conventions or have to support some legacy code base where names are different.
📜 Description
💡 Motivation and Context
Closes #236
💚 How did you test it?
Manually and automated
📝 Checklist
🔮 Next steps