PlatformIO Community

Packaging a multi-licensed lib

I noticed the license field of the library.json only takes a string with 1 SPDX identifier. I have a lib that distributes with 3 different licenses. I was wondering how to go about specifying this in the JSON (if possible). I would have guessed that the license field could optionally take a list of strings (all SPDX identifiers) in this scenario.

In the Meantime I have resorted to only specifying 1 of the 3 licenses in the JSON (its not published to PIO registry yet).

Please open this as a feature request issue in Issues · platformio/platformio-core · GitHub, I’m sure they can make licenses and array of strings instead of one string.

oops My notifications were disabled…

opened a ticket on github.

Further discussion should take place there (preferably).