Skip to content

Commit 9e968ee

Browse files
committed
- add info on how to configure export logic per variant
1 parent 3923b57 commit 9e968ee

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,16 @@ aboutLibraries {
146146
// Enable pretty printing for the generated JSON file
147147
prettyPrint = true
148148
}
149+
150+
exports {
151+
// Define export configuration per variant.
152+
create("jvm") {
153+
outputFile = file("files/jvm/aboutlibraries.json")
154+
}
155+
create("wasmJs") {
156+
outputFile = file("files/wasmJs/aboutlibraries.json")
157+
}
158+
}
149159

150160
license {
151161
// Define the strict mode, will fail if the project uses licenses not allowed

0 commit comments

Comments
 (0)