These are chat archives for jruby-gradle/jruby-gradle-plugin

8th
Nov 2017
Schalk W. Cronjé
@ysb33r
Nov 08 2017 22:03
@mkristian I still have the dream of resolving directly off rubygems.org, but I need to work out how to get ExternalModuleDependency implemented for GEMs in a manner transparent to the script author. Then we would no longer have to fiddle with Maven proxies.
Christian Meier
@mkristian
Nov 08 2017 22:21
@ysb33r sure, I finally did this for the jruby-maven-plugin, it uses the a protocol handler which does convert the rubygems.org info directly into pom, artifacts and maven-metadata.xml files. I remember there were hooks for this in gradle as well but at this time there were not usable by plugin.
Schalk W. Cronjé
@ysb33r
Nov 08 2017 22:22
@mkristian That conversion code would be damn useful.
Christian Meier
@mkristian
Nov 08 2017 22:25
@ysb33r https://github.com/torquebox/mavengem has 3 modules: the protocol is just a protocol handler for java, URLConnection, the wagon thing is the maven clue-code and rubygems-tools is the conversion from gems repo to maven repo. the later is actually also used in these proxy servlets.