Resolve JVM classpath via Gradle and extract Java source, signatures, and structure for agents (CLI + MCP)