we want to compile a project once and then copy all the content in the directory to other Computers, however to directories with different paths.
- The Project was compiled in C:/build
- Copy all content to another computer to C:/workspace
In that case everything has to be recompiled unfortunately because gradle thinks
Deleting stale output file: C:\workspace..\build\resources\main Output property 'destinationDir' file C:\build\..\build\resources\main has been removed
All files have obviously been copied and are present, but gradle only considers the full path which doesn’t make sense to me and then proceeds to delete the outputs. Can gradle check the output property with a relative path instead of absolute?