question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Detach the main Plugin dependencies by Publisher

See original GitHub issue

Until now, we are using a single dependency including all the dependencies required by the different implementation of the plugins. For example, if I’m using InfluxDb I’m including in the classpath of the project dependencies like RethinkDb or ElasticSearch. This is something we want to improve reducing the impact in terms of dependencies and making more clean the implementation of the project.

This task will require the modularization of the Publishers and the implementation of the appropriate publishing Gradle configuration for the different artifacts.

The final requirement is at the end if I have to use only InfluxDbPublisher, I will need to include the dependency: com.cdsap.talaiot-publishers-influxdb If I’m not using one of the different publishers offered I can depend on the main artifact: com.cdsap.talaiot

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
cdsapcommented, Aug 25, 2020

Hi @mokkun thanks for reading the doc. The only reason to separate the entities publishing and plugin is having the flexibility to build plugins with several publishers. For example, in case of legacy plugin Talaiot, the plugin contains all the publishers. Screen Shot 2020-08-24 at 8 35 12 PM You can create your own plugin using two publishers with your custom requirements. It’s true that if you’re consuming a plugin type influxdb there is no benefit having this separation.

Regarding your comment I’m ok with the layout: – library ---- influxdb ------ plugin ------ publisher

I will update the doc

2reactions
cdsapcommented, Jul 18, 2020

@MyDogTom @mokkun I’m working on this issue, but it’s becoming a huge change. Hope at the end of next week present you a draft. I really like how is the final result

Read more comments on GitHub >

github_iconTop Results From Across the Web

Removing dependencies (Microsoft Dataverse) - Power Platform
This article describes how dependencies can be removed. ... Scenario 2: Uninstall solution layers from different publishers.
Read more >
Gradle remove specific dependency configuration from ...
I am using this to create a special pom that contains all testRuntime dependencies to be used for integration tests separated from the...
Read more >
Sharing dependency versions between projects
It is a central place to declare a version of a dependency and to make sure ... Catalogs can separate the group and...
Read more >
Dependency Management - Jenkins
Plugins depend on specific versions of libraries and of other plugins, each of which is versioned independently. Each dependency may have dependencies of ......
Read more >
Add build dependencies - Android Developers
Note: When using Android Gradle plugin 3.4.0 and higher, this dependency configuration no longer packages the lint checks in your Android Library projects....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found