Moved code from jruby-gradle-plugin to here

Initial code move.