From b67f0a78a87f464fb4dbbc36b97233f514a6738d Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 28 Dec 2019 04:50:43 -0800 Subject: [PATCH] Specify library dependencies in library.properties 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). --- library.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/library.properties b/library.properties index eca9978..a779a89 100644 --- a/library.properties +++ b/library.properties @@ -9,3 +9,4 @@ url=https://github.com/Hieromon/AutoConnect.git dependencies=PageBuilder architectures=esp8266, esp32 includes=AutoConnect.h +depends=ArduinoJson, PageBuilder