Build: Update Gradle and dependencies
Upgrade Gradle wrapper from 9.1.0 to 9.3.1 and Android Gradle Plugin (AGP) to 9.1.0. This update introduces the Gradle Daemon JVM toolchain configuration and the Foojay toolchain resolver.
- Update Gradle distribution to 9.3.1.
- Bump AGP version to 9.1.0 and KSP to 2.3.2.
- Add `gradle-daemon-jvm.properties` to specify JetBrains JDK 21 as the toolchain.
- Enable `foojay-resolver-convention` plugin in `settings.gradle.kts`.
- Update `gradle.properties` with various Android build flags and optimizations.
- Remove hardcoded `gradleJvm` from IDE settings.