Search Gradle plugins

me.him188.kotlin-dynamic-delegation

Owner: Him188

Kotlin compiler plugin that allows class delegation to be dynamic like property delegations

https://github.com/him188/kotlin-dynamic-delegation

Sources: https://github.com/him188/kotlin-dynamic-delegation.git

Version 0.3.0-170.1

Created 27 May 2022.

Kotlin compiler plugin that allows class delegation to be dynamic like property delegations

Add this plugin to your build using the plugins DSL:

plugins {
  id("me.him188.kotlin-dynamic-delegation") version "0.3.0-170.1"
}

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