Skip to content

Commit 44bc115

Browse files
committed
add license
1 parent 577d9f8 commit 44bc115

File tree

1 file changed

+7
-1
lines changed
  • java-shared-dependencies/dependency-analyzer/src/main/java/com/google/cloud/model

1 file changed

+7
-1
lines changed

java-shared-dependencies/dependency-analyzer/src/main/java/com/google/cloud/model/License.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package com.google.cloud.model;
22

33
import static com.google.cloud.model.LicenseCategory.NOTICE;
4+
import static com.google.cloud.model.LicenseCategory.PERMISSIVE;
45
import static com.google.cloud.model.LicenseCategory.RESTRICTED;
56

67
import com.google.common.collect.ImmutableSet;
@@ -16,10 +17,15 @@
1617
public enum License {
1718
APACHE_2_0("Apache-2.0", Set.of(NOTICE)),
1819
BCL("BCL", Set.of(RESTRICTED, NOTICE)),
20+
BSD_2_CLAUSE("BSD-2-Clause", Set.of(NOTICE)),
1921
BSD_3_CLAUSE("BSD-3-Clause", Set.of(NOTICE)),
2022
GL2PS("GL2PS", Set.of(RESTRICTED, NOTICE)),
23+
24+
GPL_2_0_WITH_CLASSPATH_EXCEPTION("GPL-2.0-with-classpath-exception", Set.of(PERMISSIVE)),
2125
MIT("MIT", Set.of(NOTICE)),
22-
NOT_RECOGNIZED("Not-Recognized", Set.of());
26+
NOT_RECOGNIZED("Not-Recognized", Set.of()),
27+
28+
UPL_1_0("UPL-1.0", Set.of(NOTICE));
2329

2430
private final static Logger LOGGER = Logger.getLogger(License.class.getName());
2531

0 commit comments

Comments
 (0)