The intermediate .class files that Gradle creates under gradle cache while building the java code, is too long. Since most windows apis do not support more than 260 chars of file path length, so some intermediate processes of our custom build system (that runs on windows os) fails.
To that effect, I have following questions:
- Is there any way by which the file path length can be reduced?
- What determines that how many _closure’x’ will be present in name of any .class file.
- Is it possible to make the gradle produce this intermediate .class file with a little modified naming for saving characters - something like $_run_c33_c123… instead of $_run_closure33_closure123…
I’m referring to a path similar to:
Any help in this direction would be much appreciated.