-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Adding a Gradle Build system to the Processing IDE #888
base: main
Are you sure you want to change the base?
Conversation
Screen.Recording.2024-12-18.at.09.14.01.movLittle preview of the new splash screen and the tweak to the macOS titlebar Before Screen.Recording.2024-12-18.at.09.16.56.mov |
errStr = DefaultErrorLocalStrSet.get().get("editor.status.error.syntax").orElse("Error"); | ||
retStr = DefaultErrorLocalStrSet.get().get(stringName).orElse(stringName); | ||
} | ||
var errStr = DefaultErrorLocalStrSet.get().get("editor.status.error.syntax").orElse("Error"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still not sure how to fix this
new File(resourcesFolder, "en.lproj")); | ||
Util.copyFile(mode.getContentFile("application/application.icns"), | ||
new File(resourcesFolder, "application.icns")); | ||
// TODO: Handle the java embed and Icon with the new build system |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO
The Processing Website has more meta-data related to the examples. I'd like to use that meta-data going forward so I've added it
Screen.Recording.2024-12-18.200843.mp4Windows adjusted titlebar |
This PR is not ready for review.
Using the work by @mingness to simplify the contributions workflow. Disabled the post request because that data is not saved anywhere and most hosts do not support it
Here's the first pull-request adding a new Gradle build system to the Processing IDE.
The GitHub Actions will create distributable binaries for macOS (x64, aarch64), windows (x64) and linux (x64). The other platforms will need their own CI/CD system, but I think the repo will already build on the other platforms.
In terms of compatibility I've come pretty far but I'm sure there is some functionality that I have missed.
New Features
Functionality to test and verify
processing-java
To add during this pull request
https://github.com/JetBrains/compose-multiplatform/blob/master/tutorials/Native_distributions_and_local_execution/README.md#customizing-infoplist-on-macos
https://github.com/JetBrains/compose-multiplatform/blob/master/tutorials/Signing_and_notarization_on_macOS/README.md#configuring-entitlements
To improve during this pull request
After pull request
https://github.com/JetBrains/compose-multiplatform/blob/master/tutorials/Signing_and_notarization_on_macOS/README.md
This will require a custom runner setup as jetpack compose does not cross-build
To consider
In any case, this pull request does not break the existing Ant build system so we can either wait with the merge or we can have the Gradle version available as a preview.
The bundle size has increased quite a bit since we are shipping a JRE and a JDK instead of using the JDK to run the IDE
|linux-x64 | 257 MB |
|macos-aarch64 | 294 MB |
|macos-x64 | 289 MB |
|windows-x64 | 275 MB |
P.S. this also includes the pre-processor as a Maven library, so merging this PR will add processing:java:prepocessor as a Maven package