Skip to content

mike-neck/savanna-gradle-plugin

Repository files navigation

savanna-gradle-plugin

A gradle plugin for preventing no tests or skipping tests, inspired by kawasima/savanna-maven-plugin.

Usage

Add this plugin to your gradle build file.

plugins {
  id 'org.mikeneck.savanna-gradle-plugin' version 'v0.1'
}

Lion

Lion will come in a case listed bellow.

  • The project has no tests.
  • User skipped test task(./gradlew build -x test).

Example

If a user runs build with skipping tests...

$ ./gradlew build -x test
> Task :compileJava
> Task :processResources NO-SOURCE
> Task :classes
> Task :jar
> Task :assemble
> Task :check
> Task :build

> Task :savanna
     ,、,,,、,,,
    _,,;' '" '' ;;,,
  (rヽ,;''""''゛゛;,ノr)    
   ,; i ___ 、___iヽ゛;,  テスト書いてないとかお前それ@t_wadaの前でも同じ事言えんの?
  ,;'''|ヽ・〉〈・ノ |゙ ';,
  ,;''"|   ▼   |゙゛';,
  ,;'' ヽ _人_  / ,;'_
 /シ、    ヽ  ⌒⌒  /  リ \
|   "r,,`"'''゙´  ,,ミ|
|     リ、    ,リ   |
|  i  ゛r、ノ,,r" i _ |
|  `ー――-----------┴ ⌒´ )
(ヽ  _____________ ,, _´)
 (_⌒_______________ ,, ィ
     T                 |
     |                 |


BUILD SUCCESSFUL in 149ms
3 actionable tasks: 3 executed

About

A gradle plugin for preventing no tests or to skip testing, inspired by https://github.com/kawasima/savanna-maven-plugin

Resources

Stars

Watchers

Forks

Packages

No packages published