Search Gradle plugins

io.github.zcys12173.plugin_router

Configure the automatic registration Gradle plugin for the KRouter component library.

https://github.com/zcys12173/KRouter/tree/main/plugin-router

Sources: https://github.com/zcys12173/KRouter.git

Version 1.0.0-pre-2 (latest)

Created 07 August 2023.

Configure the automatic registration Gradle plugin for the KRouter component library.

Add this plugin to your build using the plugins DSL:

plugins {
  id("io.github.zcys12173.plugin_router") version "1.0.0-pre-2"
}

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.zcys12173.plugin_router:io.github.zcys12173.plugin_router.gradle.plugin:1.0.0-pre-2")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("io.github.zcys12173.plugin_router")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("io.github.zcys12173.plugin_router:io.github.zcys12173.plugin_router.gradle.plugin:1.0.0-pre-2")
      }
    }
    
    apply(plugin = "io.github.zcys12173.plugin_router")
  • Applying plugins to all subprojects .