Class SpdxLicenses

java.lang.Object
org.spdx.sbom.gradle.utils.SpdxLicenses

public class SpdxLicenses extends Object
  • Method Details

    • newSpdxLicenes

      public static SpdxLicenses newSpdxLicenes(org.gradle.api.logging.Logger logger, org.spdx.library.model.SpdxDocument doc, SpdxKnownLicenses spdxKnownLicenses) throws org.spdx.library.InvalidSPDXAnalysisException
      Throws:
      org.spdx.library.InvalidSPDXAnalysisException
    • asSpdxLicense

      public org.spdx.library.model.license.AnyLicenseInfo asSpdxLicense(List<PomInfo.LicenseInfo> licenses) throws org.spdx.library.InvalidSPDXAnalysisException
      Throws:
      org.spdx.library.InvalidSPDXAnalysisException