# Groovy compiler

> **TL;DR**
> `File | Settings | Build, Execution, Deployment | Compiler | Groovy Compiler` for Windows and Linux
>
>
>
> `IntelliJ IDEA | Settings | Build, Execution, Deployment | Compiler | Groovy Compiler` for macOS

Use this page to configure the [Groovy](getting-started-with-groovy.html) compiler-specific settings.

| Item | Description |
| --- | --- |
|  Path to configscript | Use this field to specify a path to the configuration script parameter to use in Groovy compilation. This field matches the `--configscript` Groovy command. For more information, refer to [Groovy documentation](http://docs.groovy-lang.org/latest/html/documentation/tools-groovyc.html).     Type the path in the field, or click ![the Browse button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.general.ellipsis.svg) and select the required file in the dialog that opens     |
| Invoke dynamic support | Select this checkbox to activate the compilation process that supports `invokedynamic` bytecode instruction.  |
| Exclude from stub generation | Use this section to make up a list of files and directories, for which the stub generation step should be omitted. Use ![](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.add.svg) `Alt+Insert` (Windows), `⌘ N` (macOS), `⌃ N` (IntelliJ IDEA Classic (macOS)), `⌘ N` (macOS System Shortcuts), `Alt+Insert` (XWin), `Alt+Insert` (GNOME), `Alt+Insert` (KDE), `Alt+Insert` (Emacs), `Ctrl+N` (Sublime Text), `⌘ N` (Sublime Text (macOS)), `Alt+Insert` (NetBeans), `Ctrl+N` (Visual Studio), `⌘ N` (Visual Studio (macOS)), `Alt+Insert` (Eclipse), `⌘ N` (Eclipse (macOS)) to add files and directories to the list, and ![](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.remove.svg) `Alt+Delete` (Windows), `⌘ ⌦` (macOS), `⌘ ⌦` (IntelliJ IDEA Classic (macOS)), `⌘ ⌦` (macOS System Shortcuts), `Alt+Delete` (XWin), `Alt+Delete` (GNOME), `Alt+Delete` (KDE), `Alt+Delete` (Emacs), `Alt+Delete` (Sublime Text), `⌘ ⌦` (Sublime Text (macOS)), `Alt+Delete` (NetBeans), `Ctrl+R, D` (Visual Studio), `⌘ R, D` (Visual Studio (macOS)), `Alt+Delete` (Eclipse), `Alt+Delete` (Eclipse (macOS)) to delete the selected items. |

## See also

### Concepts

[Groovy](groovy.html)

### Procedures

[Groovy](groovy.html)

