Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The module will automatically create a src/ folder. Right click on it, select New Groovy Class (better is Groovy Script, but Script (if it fails in your version due to a bug in 2021.2 and 2021.3 causes this to fail use Groovy Class instead). You can delete the boilerplate class definition, and just write code outside of a class.

...

The module will automatically create a src/ folder. Right click on it, select New Groovy Class Script (better is Groovy Script, but a bug in 2021.2 and 2021.3 causes this to fail).If you choose New Groovy Class, you can or Groovy Class and delete the boilerplate class definition, and just write regular commands outside of a class. This should be aware of any grouper classes you referenceas a workaround if your version hasn't fixed this bug).




4) Run the script

There is probably a way to run this within the IDE, but I haven't tried it lately.

...