---
title: "Include groovy scripts in module"
url: "https://academy.jahia.com/sites/academy/contents/knowledge-base/2020/include-groovy-scripts-in-module.html"
last_updated: 2026-10-01
---

# Include groovy scripts in module

Developer Jahia 7.3 Jahia 8

## Question

How can I include groovy scripts in a module and run them later?

## Answer

Groovy scripts can be included in module by placing them under the path:

```
/src/main/resources/META-INF/groovyConsole
```

Groovy scripts included in modules under this path would then be available to be selected from groovy console in tools [http://localhost:8080/modules/tools/groovyConsole.jsp](http://localhost:8080/modules/tools/groovyConsole.jsp)
