Search Gradle plugins

org.ajoberstar.defaults

Plugin providing opinionated defaults for Gradle projects.

https://github.com/ajoberstar/gradle-defaults

Using the plugins DSL:

plugins {
  id("org.ajoberstar.defaults") version "0.16.0-beta.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("org.ajoberstar:gradle-defaults:0.16.0-beta.2")
  }
}

apply(plugin = "org.ajoberstar.defaults")

Using the plugins DSL:

plugins {
  id "org.ajoberstar.defaults" version "0.16.0-beta.2"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "org.ajoberstar:gradle-defaults:0.16.0-beta.2"
  }
}

apply plugin: "org.ajoberstar.defaults"

Learn how to apply plugins to subprojects