Search Gradle plugins

net.afanasev.sekret

Owner: Anatolii

Hide sensitive information in toString() of Kotlin Data classes

https://github.com/aafanasev/sekret/

Sources: https://github.com/aafanasev/sekret/

Version 0.1.5 (latest)

Created 14 January 2025.

Hide sensitive information in toString() of Kotlin Data classes

Add this plugin to your build using the plugins DSL:

plugins {
  id("net.afanasev.sekret") version "0.1.5"
}

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