Groovy error: calc script too long
I'm trying to run a Groovy script to execute a calculation but the calc script is too long:
The Groovy script failed to compile with internal error: Compile Error: String too long. The given string is 131840 Unicode code units long, but only a maximum of 65535 is allowed.
Is there a way to work around this other than to break up the calc script. I'd really hate to that.