Sha256: 7a785e018bdb38e375d33cdef7eb3727c2f06c977eb7a5e341a741565ce74903
Contents?: true
Size: 735 Bytes
Versions: 19
Compression:
Stored size: 735 Bytes
Contents
require 'maven/tools/jarfile' require 'jbundler/classpath_file' require 'jbundler/vendor' require 'jbundler/gemfile_lock' require 'jbundler/aether' module JBundler class Context attr_reader :config def initialize @config = JBundler::Config.new end def jarfile @jarfile ||= Maven::Tools::Jarfile.new( @config.jarfile ) end def vendor @vendor ||= JBundler::Vendor.new( @config.vendor_dir ) end def classpath @classpath ||= JBundler::ClasspathFile.new( @config.classpath_file ) end def gemfile_lock @gemfile_lock ||= JBundler::GemfileLock.new( jarfile, @config.gemfile_lock ) end end end
Version data entries
19 entries across 19 versions & 2 rubygems