gradle-git-versioning-plugin icon indicating copy to clipboard operation
gradle-git-versioning-plugin copied to clipboard

Can't use project properties

Open StefanOltmann opened this issue 11 months ago • 1 comments

Hi,

I wanted to access the project property git.commit.timestamp and tried several things like val commitTime: Long = (project.properties.get("git.commit.timestamp") as String).toLong() and val commitTime: Long = (gitVersioning.ext.get("git.commit.timestamp") as String).toLong(), but it's not there.

Is this a bug? How to access the values?

Kind regards,

Stefan

StefanOltmann avatar Dec 10 '24 09:12 StefanOltmann