Search Gradle plugins

org.ysb33r.opentofu.base

Provides OpenTofu extension and tasks. No need to have opentofu installed as plugin will take care of caching and installation in a similar fashion as to have Gradle distributions are cached

https://ysb33rorg.gitlab.io/gradle/terraform-gradle-plugin

Sources: https://gitlab.com/ysb33rOrg/gradle/terraform-gradle-plugin

Version 2.0.0-alpha.4 (latest)

Created 14 February 2025.

Provides OpenTofu extension and tasks. No need to have opentofu installed as plugin will take care of caching and installation in a similar fashion as to have Gradle distributions are cached

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.ysb33r.opentofu.base") version "2.0.0-alpha.4"
}

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