Class: MavenRepo

Inherits:
Object
  • Object
show all
Defined in:
lib/jlauncher/repos.rb

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ MavenRepo

Returns a new instance of MavenRepo.



46
47
48
# File 'lib/jlauncher/repos.rb', line 46

def initialize(path)
    @path = path
end

Instance Method Details

#local_path(coordinates) ⇒ Object

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)



52
53
54
# File 'lib/jlauncher/repos.rb', line 52

def local_path(coordinates)
    File.join(@path, coordinates.local_maven_path)
end