mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-10 23:15:04 +00:00
The checkstyle configuration files were being accessed as resources within the project and being converted from a URL to a File by gradle. This works when the build tools project is being referenced as a local project. However, when using the published jar the URL points to a resource in the jar file, that URL cannot be converted to a File object and causes the build to fail. This change copies the files into a `checkstyle` directory in the project build folder and always uses File objects pointing to the copied files.