https://github.com/scuilion/gradle-utils
A Gradle plugin for everyday use
https://github.com/scuilion/gradle-utils
gradle-plugin gradle-utils groovy
Last synced: 7 months ago
JSON representation
A Gradle plugin for everyday use
- Host: GitHub
- URL: https://github.com/scuilion/gradle-utils
- Owner: Scuilion
- Created: 2013-09-11T17:09:27.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-11-17T02:08:59.000Z (over 10 years ago)
- Last Synced: 2025-07-26T19:57:21.193Z (8 months ago)
- Topics: gradle-plugin, gradle-utils, groovy
- Language: Groovy
- Homepage:
- Size: 350 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gradle-utils [](https://travis-ci.org/Scuilion/gradle-utils)
A gradle plugin to add common task to everyday projects
##### Using the Plugin
```groovy
buildscript {
repositories {
jcenter()
}
dependencies {
classpath group: 'com.scuilion.gradle', name: 'utils', version: '0.+'
}
}
apply plugin: 'utils'
```
Run 'gradle tasks' to see list of added tasks under the 'Uitl tasks' group.
##### Active
* runSimple - simple wrapper around the ExecTask.
Reference a main class in the build file
```groovy
runSimple.mainClass = 'com.RunMain'
```
* printSourceSet - defaults to main. Add property 'sourceSetName' to cmd line to specify a sourceSet.
```bash
gradle printSourceSet -PsourceSetName=test
```
* testTiming - adds very simplified timing to individual test.
```bash
gradle test -PtimeTests
```
___
This is a post processing plugin and must be applied towards the end of your build file.