Skip to content

Add GraalJS QRCode demo using gradle and webpack. #21

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

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

elhoussnifatimazahra
Copy link

@elhoussnifatimazahra elhoussnifatimazahra commented Mar 17, 2025

Adds a Java example application that uses GraalJS and a JavaScript library (node-qrcode) to generate a QR code from a string and then prints it to the console.

Uses the Gradle Node plugin to bundle the npm package (with polyfills) using webpack, and include it in the JAR, as part of the Gradle build.

See README.md for details.

Run using ./gradlew build run.

resolved #14

Copy link

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
The following contributors of this PR have not signed the OCA:

  • PR author: elhoussnifatimazahra

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. label Mar 17, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added OCA Verified All contributors have signed the Oracle Contributor Agreement. and removed OCA Required At least one contributor does not have an approved Oracle Contributor Agreement. labels Mar 18, 2025
@fniephaus
Copy link
Member

FYI @sschuberth

@elhoussnifatimazahra elhoussnifatimazahra force-pushed the fatimazahra/GR-63043/graaljs-gradle-webpack-guide branch from 714772b to ffc8236 Compare April 9, 2025 10:27
Copy link
Member

@fniephaus fniephaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a description to the PR and incorporate my feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Please add a demo for how to depend on NPM packages in a Gradle project for GraalJS
3 participants