Skip to content

ewpratten/gradle-sensible-defaults

Repository files navigation

Sensible Defaults for Gradle

gradle-sensible-defaults is a Gradle plugin I have built for personal use. The goal of this plugin is to automatically configure buildsystem settings, and reduce the amount of copy+paste I need to do when setting up a new project.

Installation

Using the Plugins DSL

Add the following to the top of your build.gradle file`:

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

Using the legacy plugin system

Add the following to the top of your build.gradle file`:

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

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

About

My personal Gradle plugin for handling buildscript code I commonly use

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages