We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7bd607 commit b17f9e8Copy full SHA for b17f9e8
plugin-build/src/main/kotlin/io/sentry/android/gradle/SentryPlugin.kt
@@ -36,8 +36,10 @@ constructor(private val buildEvents: BuildEventListenerRegistryInternal) : Plugi
36
runCatching { extraProperties.get(SENTRY_PROJECT_PARAMETER).toString() }.getOrNull()
37
38
val extension = SentryPluginExtension.of(project)
39
- AndroidAppSubplugin(project, extension)
40
- .apply(buildEvents, sentryOrgParameter, sentryProjectParameter)
+ project.pluginManager.withPlugin("com.android.application") {
+ AndroidAppSubplugin(project, extension)
41
+ .apply(buildEvents, sentryOrgParameter, sentryProjectParameter)
42
+ }
43
}
44
45
private fun Project.checkAgpApplied() {
0 commit comments