You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,12 +59,18 @@ Every metadata has an entry in the `metadata/index.json`. For example:
59
59
"module": "org.example:dependant-library",
60
60
"requires": [
61
61
"org.example:library"
62
-
]
62
+
],
63
+
"allowed-packages": [
64
+
"org.package.name"
65
+
]
63
66
}
64
67
]
65
68
```
66
69
67
-
Note that `dependant-library` can feature its own metadata as well if `directory` key is specified.
70
+
**Note:**`dependant-library` can feature its own metadata as well if `directory` key is specified.
71
+
72
+
**Note:**`allowed-packages` describes which packages are expected to contain metadata entries. This way you can prevent metadata from other libraries to be
73
+
pulled into your config files
68
74
69
75
Every library metadata has another `index.json` file.
70
76
In aforementioned case that would be `metadata/org.example/library/index.json`.
0 commit comments