Search Gradle plugins

Version 0.0.2-preview

Created 19 December 2019.

Experiment on implementation of dagger2 code generation through Kotlin compiler

Add this plugin to your build using the plugins DSL:

plugins {
  id("me.shika.dagger-compiler-plugin") version "0.0.2-preview"
}

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("me.shika.dagger-compiler-plugin:me.shika.dagger-compiler-plugin.gradle.plugin:0.0.2-preview")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("me.shika.dagger-compiler-plugin")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("me.shika.dagger-compiler-plugin:me.shika.dagger-compiler-plugin.gradle.plugin:0.0.2-preview")
      }
    }
    
    apply(plugin = "me.shika.dagger-compiler-plugin")
  • Applying plugins to all subprojects .