Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ewpratten/gradle-sensible-defaults
My personal Gradle plugin for handling buildscript code I commonly use
https://github.com/ewpratten/gradle-sensible-defaults
gradle-plugin groovy
Last synced: about 1 month ago
JSON representation
My personal Gradle plugin for handling buildscript code I commonly use
- Host: GitHub
- URL: https://github.com/ewpratten/gradle-sensible-defaults
- Owner: ewpratten
- License: gpl-3.0
- Created: 2020-11-21T19:37:49.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-01-01T17:41:58.000Z (about 4 years ago)
- Last Synced: 2024-10-30T18:50:54.878Z (3 months ago)
- Topics: gradle-plugin, groovy
- Language: Groovy
- Homepage: https://plugins.gradle.org/plugin/ca.retrylife.gradle.sensibledefaults
- Size: 81.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sensible Defaults for Gradle
[`gradle-sensible-defaults`](https://plugins.gradle.org/plugin/ca.retrylife.gradle.sensibledefaults) is a [Gradle](https://gradle.org/) 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`:
```groovy
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`:
```groovy
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"
```