borissmidt / gradle-mima-plugin

a gradle plugin for the scala mima tool to check binary compatibility. https://github.com/lightbend/mima, for maven https://github.com/kelnos/mima-maven-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

a gradle plugin for the scala mima tool to check binary compatibility. https://github.com/lightbend/mima, for maven https://github.com/kelnos/mima-maven-plugin

License:Other


Languages

Language:Java 72.4%Language:Scala 26.0%Language:Shell 1.6%