Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use project properties #158

Open
StefanOltmann opened this issue Dec 10, 2024 · 1 comment
Open

Can't use project properties #158

StefanOltmann opened this issue Dec 10, 2024 · 1 comment

Comments

@StefanOltmann
Copy link

StefanOltmann commented Dec 10, 2024

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
Copy link
Author

@qoomon Is there an example how to use these properly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant