Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for LicenseInfo (0.19 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/LicenseAnalyzer.java

    
        public static LicenseInfo licenseType(File licenseFile) {
            for (LicenseMatcher matcher : matchers) {
                boolean matches = matcher.matches(licenseFile);
                if (matches) {
                    return new LicenseInfo(matcher.getIdentifier(), matcher.spdxLicense, matcher.sourceRedistributionRequired);
                }
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 00:12:58 GMT 2021
    - 12.8K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesInfoTask.java

            final File license = getDependencyInfoFile(group, name, "LICENSE");
            String licenseType;
    
            final LicenseAnalyzer.LicenseInfo licenseInfo = LicenseAnalyzer.licenseType(license);
            if (licenseInfo.isSpdxLicense() == false) {
                // License has not be identified as SPDX.
                // As we have the license file, we create a Custom entry with the URL to this license file.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 8.6K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

                checkFile(dependencyName, jarName, notices, "NOTICE");
    
                File licenseFile = new File(licensesDir, getFileName(dependencyName, licenses, "LICENSE"));
                LicenseInfo licenseInfo = LicenseAnalyzer.licenseType(licenseFile);
                if (licenseInfo.isSourceRedistributionRequired()) {
                    checkFile(dependencyName, jarName, sources, "SOURCES");
                }
            }
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
Back to Top