krakowski / gradle-jextract

Gradle plugin for integrating Project Panama's jextract tool
https://plugins.gradle.org/plugin/io.github.krakowski.jextract
GNU General Public License v3.0
51 stars 10 forks source link

Libraries should be optional #5

Closed rnett closed 2 years ago

rnett commented 2 years ago

What should this feature provide?

The libraries configuration should be optional.

Why is this feature needed?

jextract now supports not specifying libraries, leaving loading them up to the user. The plugin does not support this yet, but should.

How can this feature be implemented?

Make LibraryDefinition.libraries optional, default to empty, don't throw if it is empty. I will submit a PR.