Fix small bug with PR #1054 - no longer just discards class/source after it's manipulated. Add inputs in build.gradle so prepatcher will automatically run again when patches or prepatcher are updated.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>