addNavigation3Dependency
When true (default) the plugin adds androidx.navigation3:navigation3-ui to commonMain automatically. This is required because NavEaseRoot extends NavKey from navigation3.
Why this is needed:
NavEaseRootextendsNavKeyinternally for navigation framework integrationTo avoid compiler warnings about inaccessible supertypes, navigation3 must be available in consuming projects
However, it's declared as
implementation(notapi) in navease-runtime to avoid polluting the public API of published libraries
Version conflict handling:
If navigation3-ui is already declared in your project, auto-injection is skipped
Gradle will use its standard resolution strategy (typically highest version wins)
Set
forceNavigation3Version = trueto enforce the NavEase-bundled version
Set to false if you manage the navigation3 dependency yourself or use a different version.