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

Wrong documentaion in README.md #29

Open
JP95Git opened this issue Oct 18, 2024 · 0 comments
Open

Wrong documentaion in README.md #29

JP95Git opened this issue Oct 18, 2024 · 0 comments

Comments

@JP95Git
Copy link

JP95Git commented Oct 18, 2024

Not working:
validator = allArtifactsCombinedMustNotBeOlderThan(5.years)
validator = singleArtifactMustNotBeOlderThan(2.days)

Working:
validator = allArtifactsCombinedMustNotBeOlderThan(years(5))
validator = singleArtifactMustNotBeOlderThan(days(2))

Tested with version 0.2 and Gradle 8.10.

Error:

No such property: years for class: java.lang.Integer
Possible solutions: class

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