mkristian / jar-dependencies

manage jar dependencies for ruby gems
MIT License
34 stars 19 forks source link

have some helper methods to build easily gems with java extensions #15

Closed mkristian closed 8 years ago

mkristian commented 9 years ago

lot of projects use rake-compiler to build gems with extension. to compile the java extension code using the declares jars from the gemspec file it needs some method exposing the classpath for the compiler.

there are two cases

something like

Jars.classpath
Jars.compile_classpath
Jars.test_classpath

this avoid using ruby-maven directly in https://github.com/guyboertje/jrjackson/issues/35 https://github.com/sparklemotion/nokogiri/issues/1253 https://github.com/mkristian/psych/blob/jruby/Rakefile#L54

mkristian commented 8 years ago

this should be done by now.