Skip to content

Scuilion/gradle-utils

Repository files navigation

gradle-utils Build Status

A gradle plugin to add common task to everyday projects

Using the Plugin
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

runSimple.mainClass = 'com.RunMain'
  • printSourceSet - defaults to main. Add property 'sourceSetName' to cmd line to specify a sourceSet.
gradle printSourceSet -PsourceSetName=test
  • testTiming - adds very simplified timing to individual test.
gradle test -PtimeTests

This is a post processing plugin and must be applied towards the end of your build file.

About

A Gradle plugin for everyday use

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages