class IvyRepo

Public Class Methods

new(path) click to toggle source
# File lib/jlauncher/repos.rb, line 58
def initialize(path)
    @path = path
end

Public Instance Methods

cache_path(coordinates) click to toggle source

for now we only support going for jars, thus no type or classifier or even platform here (to be honest mostly the latter may be interesting for us)

# File lib/jlauncher/repos.rb, line 70
def cache_path(coordinates)
    File.join(@path, "cache", coordinates.local_ivy_path)
end
local_path(coordinates) click to toggle source

for now we only support going for jars, thus no type or classifier or even platform here (to be honest mostly the latter may be interesting for us)

# File lib/jlauncher/repos.rb, line 64
def local_path(coordinates)
    File.join(@path,"local", coordinates.local_ivy_path)
end