Particle Libraries v2.0

@jvanier, is there a way that library examples can require their own additional dependencies?
I, for example, have an Adafruit_HX8357 library that only requires Adafruit_mfGFX to work as is, but I've got multiple samples each of which may require other libraries (e.g. SDFat or Touch_4Wire).
How would I go about that for examples?
In a "normal" project, I'd just create a project.properties file, but can I do that for "inbuilt" examples too?
Do I still need to explicitly add the "owning" library as dependency too?
The last point proves somewhat tricky when submitting a lib the first time, since you can't add the "home" dependency since the lib is not yet available :wink:


Update: