Gradle profile report name

hey, I know this question has been asked once in 2013, but I want to know if it is possible that we can change the profile report name, because our CI need to know the exact name of the file.

No, there is no easy way to configure the name of the profile report. If your CI can only publish exact paths, it is probably best to add a build step that moves the file after running the gradle command for your build. It could even be a Gradle task as long as you execute the rest of your build and that task in two separate commands.

If for some reason you can’t move the file, there are ways to make it work, but they’re all quite ugly just to get the file renamed (shutdown hooks with --no-daemon, nested builds, etc.).