Add Foojay toolchain resolver and configure Gradle daemon JVM