Description
what if we wanted to include a "local" jar ? i.e. jars we had internally created or from external parties which do not provide Maven coordinates but rather just a download ?
I noticed that JRubyPrepare.groovy has the following code snippet:
@optional
/** Adds dependencies from the given configuration to be prepared
*
* @param f A file, directory, configuration or list of gems
*/
void dependencies(Object f) {
dependencies.add(f)
}
so I tried this:
dependencies {
'/Users/charles/IdeaProjects/JrubyGradleTest5/local_jars/ojdbc6-11.2.0.3.jar'
}
figured an absolute path would make for a more direct test
Running JRubyPrepare task however did not capture above specified jar.
Is there perhaps a way of specifying "local-ness" via a jrubyJar entry
e.g.
jrubyJar 'file:///Users/charles/IdeaProjects/JrubyGradleTest5/local_jars/ojdbc6-11.2.0.3.jar'
thanks