Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaring (Java) Classes #65

Open
Stefterv opened this issue Mar 28, 2025 · 1 comment
Open

Declaring (Java) Classes #65

Stefterv opened this issue Mar 28, 2025 · 1 comment

Comments

@Stefterv
Copy link
Collaborator

Stefterv commented Mar 28, 2025

In my work on the Gradle plugin I'm scanning the jars within libraries for classes that are being used by the potential sketch.

I think it would be helpful to have another field on the contributions, that declares what classes the library contains, we could use this at a later stage for auto-importing libraries as they are being used.

I think it would be helpful if these classes are user-defined as the jars contain a lot of classes that are not meant to be directly imported

as an example, let's say that controlp5 has declared that it should be imported for controlP5.* classes, then when the user opens a sketch from the web that imports p5, we can pop up a helpful dialog inviting the user to download the necessary library

@mingness
Copy link
Collaborator

I see the sense of this, and it takes care of processing/processing-library-template#78. If it's user-defined, maybe we want to help the developer to test that this configuration is correct - none of the other library properties impact installation the way this does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants