Search Gradle plugins

io.github.freshmag.subjekt

A Gradle plugin for generating Kotlin code and tests from YAML configuration files

https://freshmag.github.io/subjekt-doc/

Sources: https://github.com/FreshMag/subjekt

Version 1.0.1 (latest)

Created 11 December 2024.

A Gradle plugin for generating Kotlin code and tests from YAML configuration files

Add this plugin to your build using the plugins DSL:

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