Comments (3)
I believe that this dependency lock plugin addresses the behavior you're describing.
The problem with using a tool like bundler outside of the context of Gradle is that it would result in Gradle not being aware of the dependency tree in a meaning full way to avoid re-resolving dependencies, or associating dependencies with different configurations. It also causes many of bundlers weaknesses to affect the Gradle-based project (e.g. weak separation of groups, all gems must be present at install time, etc)
from jruby-gradle-jar-plugin.
right - I never did included such a feature with jruby-maven-plugins but via ruby-maven it works really nice to use Gemfile as DSL for maven. people found "pure" gem dependencies unusable when you have lots of gems because the dependency resoultion needs (literally) hundreds of pom.xml to do its jobs. there were reports that maven did an hour downloading on an empty local repository on such projects.
but again - some improvements here you pay with some disadvantages somewhere else. in the end one needs to pick which feels best suited ;)
from jruby-gradle-jar-plugin.
to use Gemfile as DSL for maven
I have been considering reading a Gemfile from Gradle in order to determine dependencies, but have not yet convinced myself whether it is a sensible thing to do. Currently Gradle + Torquebox does a good job of dependency resolution.
from jruby-gradle-jar-plugin.
Related Issues (20)
- Remove any dependency on warbler-bootstrap HOT 1
- embedded gems need directory file .jrubydir HOT 9
- if there is not META-INF/init.rb just do not try to require it HOT 3
- consider running the jar without unpacking it HOT 9
- classloader semantics HOT 6
- Should the jar plugin disable the java plugin's jar task and archive?
- Changed the default init script name away from init.rb
- TODO list for 0.1.4 HOT 1
- Fat jar configuration should be maintained through the jrubyJar task HOT 2
- jar task should support create a Ruby-based library jar HOT 1
- Jar task should support creating Ruby-based library jars which include gems HOT 1
- jrubyJar shouldn't require the jar task to execute HOT 2
- jrubyJar should throw StopTaskExecuteException if an initScript does not exist HOT 2
- Plugin should have a JRubyFatJar type which can be extended HOT 1
- make a proper sourceSet for src/main/ruby and src/test/ruby HOT 1
- allow the jrubyJar taks to use an alternative "gems" dependencies
- allow the user of JRubyJar task to pick the DuplicatesStrategy
- Following the README yields "there is no initScript configured" from gradle task execution HOT 2
- some copy directives on jrubyJar do not produce .jrubydir files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jruby-gradle-jar-plugin.