Search Gradle plugins

ca.retrylife.gradle.sensibledefaults

My personal Gradle plugin for handling buildscript code I commonly use

https://retrylife.ca

Version 1.0.18 (latest)

Created 01 January 2021.

My personal Gradle plugin for handling buildscript code I commonly use

Using the plugins DSL:

plugins {
  id "ca.retrylife.gradle.sensibledefaults" version "1.0.18"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.ca.retrylife.gradle.sensibledefaults:gradle-sensible-defaults:1.0.18"
  }
}

apply plugin: "ca.retrylife.gradle.sensibledefaults"

Using the plugins DSL:

plugins {
  id("ca.retrylife.gradle.sensibledefaults") version "1.0.18"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.ca.retrylife.gradle.sensibledefaults:gradle-sensible-defaults:1.0.18")
  }
}

apply(plugin = "ca.retrylife.gradle.sensibledefaults")

Learn how to apply plugins to subprojects