Search Gradle plugins

Version 0.0.9-beta (latest)

Created 18 June 2024.

Plugin for cache all logic in kotlin through KCP.

Add this plugin to your build using the plugins DSL:

plugins {
  id("host.bytedance.kotlin-cacheable") version "0.0.9-beta"
}

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