This adjusts Gradle logic so that it produces a list of compiled classes in each of the various native image builds.