lib/lock_jar/resolver.rb in lock_jar-0.6.2 vs lib/lock_jar/resolver.rb in lock_jar-0.7.0

- old
+ new

@@ -20,11 +20,11 @@ module LockJar class Resolver attr_reader :opts attr_reader :naether - + def initialize( opts = {} ) @opts = opts local_repo = opts[:local_repo] || Naether::Bootstrap.default_local_repo @@ -49,9 +49,13 @@ def resolve( dependencies, download_artifacts = true ) @naether.dependencies = dependencies @naether.resolve_dependencies( download_artifacts ) @naether.dependencies_notation + end + + def dependencies_graph + @naether.dependencies_graph end def download( dependencies ) @naether.download_artifacts( dependencies ) end \ No newline at end of file