Search Gradle plugins

Version 1.0.RC1

Created 06 February 2019.

The Enterprise Groovy Plugin provides static compilation by default, and optional enforcement.

Add this plugin to your build using the plugins DSL:

plugins {
  id("enterprise.groovy.plugin") version "1.0.RC1"
}

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