Closed per1234 closed 4 years ago
Right. I read about that but just hadn't done anything with it yet, thanks. The version will also need to be bumped for the library manager to pick up the change, yes?
You're welcome. That's correct that you will need to bump the version
value in library.properties and create a new Git tag or GitHub release before the automatic dependency installation will be provided by Library Manager.
Specifying the library dependencies in the
depends
field of library.properties causes the Arduino Library Manager (Arduino IDE 1.8.10 and newer) to offer to install any missing dependencies during installation of this library.arduino-cli lib install
will automatically install the dependencies (arduino-cli 0.7.0 and newer).Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#libraryproperties-file-format