You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I change something in the example template, lets say add parent.println("version 1") to the Grid class, and run the task deployToProcessingSketchbook, then the jar files inside build/libs and release/myLibrary/library are changed correctly. But somehow the jar file inside my Processing Libraries folder isnt.
I went back and forth with chatGPT (as I am a total newbie at using the gradle approach), finally I've found something that worked. I needed to change the task to this inside build.gradle.kts:
Describe the bug
When I change something in the example template, lets say add parent.println("version 1") to the Grid class, and run the task deployToProcessingSketchbook, then the jar files inside build/libs and release/myLibrary/library are changed correctly. But somehow the jar file inside my Processing Libraries folder isnt.
I went back and forth with chatGPT (as I am a total newbie at using the gradle approach), finally I've found something that worked. I needed to change the task to this inside build.gradle.kts:
Am I getting this problem due to a user error (me :) ) ? Or have I indeed found a bug?
I've tested this thouroughly by renaming all the jar files to zip, and use https://www.decompiler.com/ to upload Grid.class and check its contents...
Steps to reproduce
parent.println("version 1");
to Grid.java insidepublic Grid(PApplet theParent, int[] palette) {
Expected behavior
I should only be running the task once instead of twice.
Actual behavior
I need to run it twice
The text was updated successfully, but these errors were encountered: