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.
Add the following to the top of your build.gradle
file`:
plugins {
id "ca.retrylife.gradle.sensibledefaults" version "1.0.4"
}
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"