Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

borissmidt/gradle-mima-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adds mima dependency check to your gradle project it looks for the previous version by looking at the git version tags:

mima {
    direction = "backward"  can be "forward" , "backward" or "both"
    //makes the task fail if there was an error detected    
    failOnException = false 
    //the versions to check, defaults to the latest version detected in the git tag.
    compareToVersions = ["0.0.0", "0.1.0"]
}

supported versions:

  • V0.0.0 suports gradle 4.9 to 6.3

to run the tests pull this repo,

  • install sdkman. curl -s "https://get.sdkman.io" | bash
  • go to cd src/gradleTest/test-projec
  • sh test.sh

to add a new version

  • add your version toversions array in test.sh and run it.