Search Gradle plugins

nl.fabianm.kotlin.plugin.generated

A Kotlin compiler plugin that annotates Kotlin-generated methods to signify to code analyzers that these methods have been generated by the compiler.

https://github.com/fabianishere/kotlin-plugin-generated

Sources: https://github.com/fabianishere/kotlin-plugin-generated.git

Version 1.5.0 (latest)

Created 07 February 2020.

A Kotlin compiler plugin that annotates Kotlin-generated methods to signify to code analyzers that these methods have been generated by the compiler.

Add this plugin to your build using the plugins DSL:

plugins {
  id("nl.fabianm.kotlin.plugin.generated") version "1.5.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("nl.fabianm.kotlin.plugin.generated:nl.fabianm.kotlin.plugin.generated.gradle.plugin:1.5.0")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("nl.fabianm.kotlin.plugin.generated")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("nl.fabianm.kotlin.plugin.generated:nl.fabianm.kotlin.plugin.generated.gradle.plugin:1.5.0")
      }
    }
    
    apply(plugin = "nl.fabianm.kotlin.plugin.generated")
  • Applying plugins to all subprojects .