I tried to add groovy-dateutil-3.0.17.jar to the external library but it didn’t help
I think it should 50%. Try stop & restart Katalon Studio so that the newly added jar file is recognized by KS.
However, it is 50% possible that patching with the groovy-dateutile-3.0.17.jar does not help ---- it depends on how the classloader inside Katalon Studio works runtime.
If it doesn’t solve your problem yet, all you can do is to avoid v9.7.2; you want to downgrade Katalon Studio to the version that you are comfortable with, and wait for a new version (v10.x?) to be released.