Search Gradle plugins

Version 0.2.0 (latest)

0.2.0

Created 16 February 2022.

Gradle plugin that configures sensible defaults

Using the plugins DSL:

plugins {
  id("io.github.sgtsilvio.gradle.defaults") version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.sgtsilvio.gradle:gradle-defaults:0.2.0")
  }
}

apply(plugin = "io.github.sgtsilvio.gradle.defaults")

Using the plugins DSL:

plugins {
  id "io.github.sgtsilvio.gradle.defaults" version "0.2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.sgtsilvio.gradle:gradle-defaults:0.2.0"
  }
}

apply plugin: "io.github.sgtsilvio.gradle.defaults"

Learn how to apply plugins to subprojects