Search Gradle plugins

dev.minco.gradle.defaults-plugin

Sets up sensible defaults for our gradle projects to avoid boilerplate

https://github.com/MinimallyCorrect/DefaultsPlugin

Using the plugins DSL:

plugins {
  id "dev.minco.gradle.defaults-plugin" version "0.2.4"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.minco.gradle:defaults-plugin:0.2.4"
  }
}

apply plugin: "dev.minco.gradle.defaults-plugin"

Using the plugins DSL:

plugins {
  id("dev.minco.gradle.defaults-plugin") version "0.2.4"
}

Using legacy plugin application:

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

apply(plugin = "dev.minco.gradle.defaults-plugin")

Learn how to apply plugins to subprojects