Version 1
[yaffs-website] / web / core / tests / Drupal / Tests / Core / Asset / library_test_files / licenses.libraries.yml
1 # No license information: should default to GPL 2.0 or later..
2 no-license-info:
3   version: 1.0
4   js:
5     no-license-info.js: {}
6   css:
7     base:
8       no-license-info.css: {}
9
10 # A library with all assets licensed under the GPL-compatible GPL 2 license.
11 gpl2:
12   version: 1.0
13   license:
14     name: gpl2
15     url: https://url-to-gpl2-license
16     gpl-compatible: true
17   js:
18     gpl2.js: {}
19   css:
20     base:
21       gpl2.css: {}
22
23 # A library with all assets licensed under the GPL-compatible MIT license.
24 mit:
25   version: 1.0
26   license:
27     name: MIT
28     url: https://url-to-mit-license
29     gpl-compatible: true
30   js:
31     mit.js: {}
32   css:
33     base:
34       mit.css: {}
35
36 # A library with all assets licensed under the GPL-compatible Public Domain.
37 public-domain:
38   version: 1.0
39   license:
40     name: Public Domain
41     url: https://url-to-public-domain-license
42     gpl-compatible: true
43   js:
44     public-domain.js: {}
45   css:
46     base:
47       public-domain.css: {}
48
49 # A library with all assets licensed under the GPL-incompatible Apache license.
50 apache:
51   version: 1.0
52   license:
53     name: apache
54     url: https://url-to-apache-license
55     gpl-compatible: false
56   js:
57     apache.js: {}
58   css:
59     base:
60       apache.css: {}
61
62 # A library with all assets licensed under the GPL-incompatible copyright.
63 copyright:
64   version: 1.0
65   license:
66     name: © Some company
67     gpl-compatible: false
68   js:
69     copyright.js: {}
70   css:
71     base:
72       copyright.css: {}