Sha256: c1458625d01bfe7cdfd5194f80c0a311325772f940d33335a83aed2ea94f928b
Contents?: true
Size: 606 Bytes
Versions: 2
Compression:
Stored size: 606 Bytes
Contents
module LicenseFinder class GradlePackage < Package attr_reader :name, :version def initialize(gradle_dependency, options={}) super options @gradle_dependency = gradle_dependency @name = @gradle_dependency["name"].split(":")[1] @version = @gradle_dependency["name"].split(":")[2] end def description "" end def summary "" end def homepage "" end def groups [] end def children [] end def license_names_from_spec @gradle_dependency["license"].map { |l| l["name"] } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
license_finder-1.2 | lib/license_finder/package_managers/gradle_package.rb |
license_finder-1.2-java | lib/license_finder/package_managers/gradle_package.rb |