Search Gradle plugins

Version 2.0.1 (latest)

Created 04 October 2018.

Defaults plugin for Enonic projects.

Using the plugins DSL:

plugins {
  id "com.enonic.defaults" version "2.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.enonic.gradle:gradle-defaults:2.0.1"
  }
}

apply plugin: "com.enonic.defaults"

Using the plugins DSL:

plugins {
  id("com.enonic.defaults") version "2.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.enonic.gradle:gradle-defaults:2.0.1")
  }
}

apply(plugin = "com.enonic.defaults")

Learn how to apply plugins to subprojects