Closed bellini-ea closed 4 years ago
Just to confirm, which version are you using? This issue should not happen because there is an annotation @Internal on it. Reference: https://github.com/n0mer/gradle-git-properties/blob/2dd13d3c39ca646255fa2f62fb0f40c4951ce988/src/main/groovy/com/gorylenko/GenerateGitPropertiesTask.groovy#L34
Ah yes, my apologies. I'm using Gradle 6.2.1 with the Kotlin DSL id("com.gorylenko.gradle-git-properties") version "2.2.0"
Try v2.2.2 to see if it is fixed. From https://github.com/n0mer/gradle-git-properties/releases it was fixed in 2.2.1
Yup, that fixes it! Thanks so much.
Using --warning-mode=all on a build results in the following warning:
My configuration is like so: