Search Gradle plugins

ca.retrylife.gradle.sensibledefaults

My personal Gradle plugin for handling buildscript code I commonly use

https://retrylife.ca

Sources: https://github.com/Ewpratten/gradle-sensible-defaults

Version 1.0.18 (latest)

Created 01 January 2021.

My personal Gradle plugin for handling buildscript code I commonly use

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("ca.retrylife.gradle.sensibledefaults:ca.retrylife.gradle.sensibledefaults.gradle.plugin:1.0.18")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("ca.retrylife.gradle.sensibledefaults")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("ca.retrylife.gradle.sensibledefaults:ca.retrylife.gradle.sensibledefaults.gradle.plugin:1.0.18")
      }
    }
    
    apply(plugin = "ca.retrylife.gradle.sensibledefaults")
  • Applying plugins to all subprojects .