Search Gradle plugins

Version 2.1.5 (latest)

2.1.5

Created 18 January 2024.

Defaults plugin for Enonic projects.

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.enonic.defaults"

Learn how to apply plugins to subprojects