|
From: Vest <no...@gi...> - 2026-06-03 03:15:52
|
Branch: refs/heads/master Home: https://github.com/PCGen/pcgen Commit: 92bbe1eb654e02af2bf5a3a4f118570027575137 https://github.com/PCGen/pcgen/commit/92bbe1eb654e02af2bf5a3a4f118570027575137 Author: Vest <Ve...@us...> Date: 2026-06-03 (Wed, 03 Jun 2026) Changed paths: M build.gradle Log Message: ----------- Defer Adoptium API call until a JavaFX download task needs it (#7579) `latestJavaVersion` was eagerly invoked on every Gradle invocation (`}(javaVersion)`), making each `./gradlew <anything>` round-trip to api.adoptium.net even for `help`, `tasks`, or any local-only target. Convert it to a memoized closure consumed at use sites that already sit inside lazy `tasks.register(...)` bodies (`downloadJfxMods`, `downloadJavaFXLocal`). The network call now fires at most once per build, and only when one of those JavaFX download tasks is realized. Closes OPTIMIZATION.md item #2. To unsubscribe from these emails, change your notification settings at https://github.com/PCGen/pcgen/settings/notifications |