I’m using OneJar plugin (https://github.com/rholder/gradle-one-jar) and I observed a different behavior with Gradle 2.4. At some point in my build I used the output files of the OneJar task and I expect to find a single file there (the generated standalone Jar). With Gradle 2.4 I observed that 2 files are in oneJarTask.outputs.files whereas in 2.3 there was only one file.
The new file is called standalone.jar suggesting it has been added only taking into account the classifier. I created a test project to illustrate the problem here https://github.com/youribonnaffe/gradle-one-jar-2.4.
Maybe it is a misusage of the API from the OneJar plugin but I though about asking before maybe creating an issue on the OneJar side and also to understand why it worked with Gradle 2.3.
@sterling you are perfectly right, I did not analyzed correctly the problem and thought it was related only to Gradle 2.4 (as I encountered other issues with one jar and Gradle 2.4).