Sha256: 577c2f4d70862005055958b472f030e7d46bf1330415be8dd15b65a214e2a66d

Contents?: true

Size: 279 Bytes

Versions: 8

Compression:

Stored size: 279 Bytes

Contents

module LicenseFinder
  class SbtDependencyFinder
    def initialize(project_path)
      @project_path = project_path
    end

    def dependencies
      Pathname
        .glob(@project_path.join('**', 'target', 'license-reports', '*.csv'))
        .map(&:read)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
license_finder-5.4.1 lib/license_finder/package_utils/sbt_dependency_finder.rb
license_finder-5.4.0 lib/license_finder/package_utils/sbt_dependency_finder.rb
license_finder-5.3.0 lib/license_finder/package_utils/sbt_dependency_finder.rb
license_finder-5.2.3 lib/license_finder/package_utils/sbt_dependency_finder.rb
license_finder-5.2.1 lib/license_finder/package_utils/sbt_dependency_finder.rb
license_finder-5.2.0 lib/license_finder/package_utils/sbt_dependency_finder.rb
license_finder-5.1.1 lib/license_finder/package_utils/sbt_dependency_finder.rb
license_finder-5.1.0 lib/license_finder/package_utils/sbt_dependency_finder.rb