We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 359ee5c commit 878e95fCopy full SHA for 878e95f
buildSrc/src/main/groovy/org/elasticsearch/gradle/DependenciesInfoTask.groovy
@@ -245,6 +245,8 @@ SOFTWARE\\.
245
246
final String MOZILLA_1_1 = "Mozilla Public License.*Version 1.1"
247
248
+ final String MOZILLA_2_0 = "Mozilla\\s*Public\\s*License\\s*Version\\s*2\\.0"
249
+
250
switch (licenseText) {
251
case ~/.*${APACHE_2_0}.*/:
252
spdx = 'Apache-2.0'
@@ -273,6 +275,9 @@ SOFTWARE\\.
273
275
case ~/.*${MOZILLA_1_1}.*/:
274
276
spdx = 'MPL-1.1'
277
break
278
+ case ~/.*${MOZILLA_2_0}.*/:
279
+ spdx = 'MPL-2.0'
280
+ break
281
default:
282
283
}
0 commit comments