I was recently found out that when we compile a java file containing inner classes, separate files are generated for each class.
But in Gradle build only one .class file is generated. Where does gradle store all inner classes?
Gradle delegates compilation to the Java compiler and will thus produce class files according to the specification of the language.
So inner classes will appear in separate class files.