CommunityToolkit / CommunityToolkit/Maui.NativeLibraryInterop

Unable to Add Android Project-Level Plugin Dependencies to MAUI

Offen
#83 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
249
Forks
48
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have tried multiple approaches, but I’m unable to add project-level build.gradle plugin dependencies to MAUI. Specifically, I attempted to integrate the [Instana Android Agent](https://github.com/instana/android-agent) into a MAUI project. While I was able to include the runtime library, the plugin itself could not be integrated.

```
plugins {
id("com.android.application")
id("com.instana.android-agent-plugin")
}
```

The plugin is included in the .aar package but is not applied when running MAUI. It seems that only build.gradle libraries at the app level are successfully included, while project-level plugin dependencies are not being applied.

I’m looking for a way to support the integration of project-level plugins in MAUI, as this behavior seems to affect other plugin-level injections as well.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.