jayware / gradle-osgi-ds

Easy to use gradle plugin to generate Declarative Services XML files
Apache License 2.0
2 stars 3 forks source link

Update to modern Gradle APIs #9

Closed chrisdennis closed 2 years ago

chrisdennis commented 2 years ago

As part of a significant upgrade of a Gradle build system I maintain I found myself needing to:

  1. Fix a bug around unclosed URLClassLoader instance and some kind of bad interaction with Gradle daemons.
  2. Support multiple source-sets and multiple resultant artifacts.

I ended up rewriting the bulk of the plugin with a tighter integration with the source-set concept, and with more aggressive use of the more recent lazy-evaluation concepts in Gradle.

This pull request is the result of that rewrite. I'm not suggesting this needs to be merged verbatim, but I figured I would offer the result here in case it is of interest.

chrisdennis commented 2 years ago

@kKdH any interest in merging any of these changes?

kKdH commented 2 years ago

Hey @chrisdennis, thank you very much for your great work! I'm going to merge your changes asap.