Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Adding existing dependencies #3726

probert ·

Hi,

I'm writing a notifier plugin, based on the existing Jabber plugin, to talk to Rocket.chat (Slack clone). I need to talk to it by HTTP(s), and I see that Apache httpclient is already bundled with QuickBuild. For those cases, should we include the httpclient as a local lib in the plugin project, or should we use the lib from QB? If so, how?

  • replies 1
  • views 2153
  • stars 0
robinshen ADMIN ·

You should use the lib from QB to avoid possible conflicts. The httpclient library exists in the main app, and will be available to your plugin automatically. You should be able to import the package from your code as long as you've followed the plugin tutorial to depend on main app (com.pmease.quickbuild project)