Search Gradle plugins

Owner: 8trees

Statically extracts a Compose Navigation3 nav graph (nodes from entry<X> {} registrations) via Kotlin PSI analysis, for compose-preview-toolkit.

https://github.com/HayatoYagi/compose-preview-toolkit

Sources: https://github.com/HayatoYagi/compose-preview-toolkit

Version 0.2.0 (latest)

Created 12 August 2026.

Statically extracts a Compose Navigation3 nav graph (nodes from entry<X> {} registrations) via Kotlin PSI analysis, for compose-preview-toolkit.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.hayatoyagi.compose-preview-toolkit.navgraph") version "0.2.0"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("io.github.hayatoyagi.compose-preview-toolkit.navgraph:io.github.hayatoyagi.compose-preview-toolkit.navgraph.gradle.plugin:0.2.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.hayatoyagi.compose-preview-toolkit.navgraph")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.hayatoyagi.compose-preview-toolkit.navgraph:io.github.hayatoyagi.compose-preview-toolkit.navgraph.gradle.plugin:0.2.0")
      }
    }
    
    apply(plugin = "io.github.hayatoyagi.compose-preview-toolkit.navgraph")
  • Applying plugins to all subprojects .