nemerosa/versioning

noWarningOnDirty - true not working for Gradle Kotlin scripts

xmlking opened this issue · 2 comments

Hi @xmlking , can you please provide more details?

clone the above repo, change any file for testing (e.g., README.md)
then run gradle tasks
you will see bunch of [versioning] WARNING - the working copy has unstaged or uncommitted changes.

git clone https://github.com/xmlking/beam-examples ~/Developer/Work/java/beam-examples  
~/Developer/Work/java/beam-examples  
 gradle tasks

> Configure project :
[versioning] WARNING - the working copy has unstaged or uncommitted changes.
[versioning] WARNING - the working copy has unstaged or uncommitted changes.
[versioning] WARNING - the working copy has unstaged or uncommitted changes.
[versioning] WARNING - the working copy has unstaged or uncommitted changes.
[versioning] WARNING - the working copy has unstaged or uncommitted changes.
[versioning] WARNING - the working copy has unstaged or uncommitted changes.
[versioning] WARNING - the working copy has unstaged or uncommitted changes.

> Task :tasks

------------------------------------------------------------
Tasks runnable from root project - Monorepo Dataflow Apps
------------------------------------------------------------

Application tasks
-----------------
run - Runs this project as a JVM application
runShadow - Runs this project as a JVM application using the shadow jar
startShadowScripts - Creates OS specific scripts to run the project as a JVM application using the shadow jar

...