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

Increase DEFAULT_MAX_AGE in LibYearExtension.kt #31

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

Increase DEFAULT_MAX_AGE in LibYearExtension.kt #31

JP95Git opened this issue Oct 18, 2024 · 2 comments

Comments

@JP95Git
Copy link

JP95Git commented Oct 18, 2024

The default validator uses DEFAULT_MAX_AGE with 10 years.

Running gradlew reportLibyears for a project with very old dependencies, the build fail and no report is generated:

Task :reportLibyears FAILED
Too many libyears encountered! These are the main culprits:

10 years sound much, but this can be reached very fast by having multiple dependencies. Perhaps we can increase the DEFAULT_MAX_AGE to something like 1000 years or do not use an validator per default.

Tested version 0.2 with Gradle 8.10

@Breefield
Copy link
Contributor

+1 to do not use an validator per default

@JP95Git
Copy link
Author

JP95Git commented Dec 23, 2024

#13 seems to be related to this issue.

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

2 participants