Yeah, that is not supported atm. But it would be very convenient. Note that Gradle would still need to write output to some file one way or another, because of up-to-date checks and caching.
But it would be very convenient that Gradle would do that behind a scene and user wouldn't need to work with files.