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: README.md
+20-5Lines changed: 20 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,11 +120,13 @@ aboutLibraries {
120
120
121
121
// Enable fetching of "remote" licenses. Uses the API of supported source hosts
122
122
// See https://github.com/mikepenz/AboutLibraries#special-repository-support
123
-
fetchRemoteLicense =true
123
+
// A `gitHubApiToken` is required for this to work as it fetches information from GitHub's API.
124
+
fetchRemoteLicense =false
124
125
125
126
// Enables fetching of "remote" funding information. Uses the API of supported source hosts
126
127
// See https://github.com/mikepenz/AboutLibraries#special-repository-support
127
-
fetchRemoteFunding =true
128
+
// A `gitHubApiToken` is required for this to work as it fetches information from GitHub's API.
129
+
fetchRemoteFunding =false
128
130
129
131
// Allows to only collect dependencies of specific variants during the `collectDependencies` step.
130
132
// filterVariants.addAll("debug", "release")
@@ -147,7 +149,7 @@ aboutLibraries {
147
149
// Enable pretty printing for the generated JSON file
148
150
prettyPrint =true
149
151
}
150
-
152
+
151
153
exports {
152
154
// Define export configuration per variant.
153
155
create("jvm") {
@@ -187,7 +189,9 @@ aboutLibraries {
187
189
```
188
190
189
191
Full documentation of all available gradle plugin
190
-
configurations can be found in the [AboutLibrariesExtension.kt](https://github.com/mikepenz/AboutLibraries/blob/develop/plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/AboutLibrariesExtension.kt) source file.
192
+
configurations can be found in
193
+
the [AboutLibrariesExtension.kt](https://github.com/mikepenz/AboutLibraries/blob/develop/plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/AboutLibrariesExtension.kt)
194
+
source file.
191
195
192
196
</p>
193
197
</details>
@@ -201,6 +205,16 @@ The plugin offers the ability to add or override library and license details by
201
205
in the `libraries` and `licenses` directories within the configured `configPath`.
202
206
See the [config directory](https://github.com/mikepenz/AboutLibraries/blob/develop/config/) for examples.
203
207
208
+
## Provide funding information
209
+
210
+
The plugin offers the ability to add or override funding details by placing a `funding.json` JSON file in the `funding` directory within the configured `configPath`.
211
+
Alternatively the `exportFunding` task can be used to generate this data automatically (ensure to provide a GitHub API Key).
212
+
The task will automatically write the file in the respective folder. Note: It will overwrite the file if it already exists.
213
+
214
+
```bash
215
+
./gradlew app:exportFunding
216
+
```
217
+
204
218
### Libraries
205
219
206
220
Provide additional or modify existing libraries via a `.json` file per library.
@@ -502,7 +516,8 @@ Create a custom style for the AboutLibraries UI.
502
516
503
517
## Enterprise / Manual JSON Handling
504
518
505
-
For environments requiring full control over the included `aboutlibraries.json` (e.g., manual verification, CI generation), you can disable automatic task registration and handle generation manually.
519
+
For environments requiring full control over the included `aboutlibraries.json` (e.g., manual verification, CI generation), you can disable automatic task registration and handle
0 commit comments