hank-cp / sbp

Plugin framework for Spring Boot based on pf4j.
Apache License 2.0
205 stars 67 forks source link

Add third-party lib to plugin #27

Closed DobrolubovaJane closed 3 years ago

DobrolubovaJane commented 3 years ago
  1. How can we add third-party lib to plugin? For example
org.apache.xmlbeans xmlbeans 3.1.0 runtime

Now we can only add dependency to main application pom.

  1. How can we get values from plugin properties file application.yaml from jar?
hank-cp commented 3 years ago

you need extra gradle config to achive this.

This [example] https://github.com/hank-cp/sbp/blob/master/plugins/demo-plugin-library/build.gradle) demostrate how to include additional JPA libs to plugin project.

DobrolubovaJane commented 3 years ago

@hank-cp Thank you! And could you please release new version of sbp-core with my pull request changes.

hank-cp commented 3 years ago

v0.1.10 is released.

BTW, you could always use :SNAPSHOT version, which is mapped to latest master code.

hank-cp commented 3 years ago

@DobrolubovaJane does your issue sloved now? I am closing this issue.