Commits
Tarun Sukhani authored e3eabc99c22
fix(gradle-plugin): defer frameworkPath-derived jvmArgs to execution time (PF-146)
registerPlayJvmTask built -Dplay.version and the framework -javaagent by
eagerly calling .get() on frameworkVersion/frameworkPath inside the
register<JavaExec>{} configuration action. Because `gradle tasks`/`help`/
IDE sync realize every task, this forced frameworkPath.get() at config time —
and frameworkPath has no convention, so a bare apply that hadn't set it failed
just to list tasks. Move those two args into a jvmArgumentProvider so they
resolve at execution time.
The PF-139 task-registration test set a throwaway frameworkPath to work around
this; that workaround is removed so the test now realizes tasks WITHOUT
frameworkPath — it fails before this fix, passes after.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>