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:

  • NavEaseRoot extends NavKey internally for navigation framework integration

  • To avoid compiler warnings about inaccessible supertypes, navigation3 must be available in consuming projects

  • However, it's declared as implementation (not api) 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 = true to enforce the NavEase-bundled version

Set to false if you manage the navigation3 dependency yourself or use a different version.