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

Fix: No signature of method: ...cleanDirectory() #587

Closed
wants to merge 1 commit into from
Closed

Fix: No signature of method: ...cleanDirectory() #587

wants to merge 1 commit into from

Conversation

flxholle
Copy link

Everytime I run ./gradlew downloadJson I get the following error:
No signature of method: static org.gradle.util.GFileUtils.cleanDirectory()

@johan12345 johan12345 added the bug label Jul 19, 2020
@johan12345
Copy link
Collaborator

Right, it looks like the method was removed recently, and so this error occurs since Gradle was upgraded in #581.

It seems that the org.gradle.util package is not considered public API - so maybe we should rather avoid using it altogether and replace it e.g. with Apache Commons IO's org.apache.commons.io.FileUtils.cleanDirectory().

@johan12345
Copy link
Collaborator

I implemented this in 8036bd9.

@johan12345 johan12345 closed this Jul 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants