Skip to content

In order to trigger the process, an annotation @VersioName must be set on a class or package. The Version class is
then generated into the same package when the following dependency is added to the build (e.g. with maven):

    <!-- This dependency is only needed during compile time and should not be packaged into final JAR -->

Using the provided scope will add zero dependencies to your project, only the generated class.

In addition, the version name to be written must be passed as an argument versionName to the compiler, e.g. like so
using maven:

Assets 2