Skip to content

Can't use project properties #158

@StefanOltmann

Description

@StefanOltmann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions