Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The Grails Web Application Framework
Java Groovy CSS HTML Shell PostScript
Latest commit f6deb1b @graemerocher graemerocher Merge pull request #9451 from smartiniOnGitHub/master
#9369 - update to Gradle 2.9
Failed to load latest commit information.
buildSrc/src/main/groovy package POM files into GRAILS_HOME/lib
gradle #9369 - update to Gradle 2.9
grails-async GORM compatibility fixes
grails-bom Use g-d-m 5.0 RC1
grails-bootstrap fix compilation error
grails-compat Don't include abstract classes in Grails factories. Fixes #9339
grails-console The word Subproject isn't adding anything here
grails-core Merge branch '3.0.x'
grails-databinding Issue #685 - Second format in DateConversionHelper should also use HH
grails-dependencies Added files
grails-docs Issue #9090 - Grails docs not building the source tags
grails-encoder Added files
grails-gradle-model Profiles - profile repository support / read profiles from Maven repos
grails-gradle-plugin Merge branch '3.0.x'
grails-gsp Rework loading of Metadata. Fixes #9375
grails-logging - Added details for grails logging plugin
grails-plugin-async Added files
grails-plugin-codecs Make forceEncoding configurable
grails-plugin-controllers Fixes #9397 - forward does not work when no model is specified
grails-plugin-converters Remove JSONObject.Null class
grails-plugin-databinding Added files
grails-plugin-datasource Rework loading of Metadata. Fixes #9375
grails-plugin-domain-class Upgrade to latest dependencies
grails-plugin-events Fix functional test failures
grails-plugin-filters Fixes #9397 - forward does not work when no model is specified
grails-plugin-gsp Merge branch '3.0.x'
grails-plugin-i18n Added files
grails-plugin-interceptors Fix for #9434 - infinite loop in error handling
grails-plugin-mimetypes Added files
grails-plugin-rest Default to JSON for @Resource in Grails 3.1
grails-plugin-services fix failing functional tests
grails-plugin-testing Upgrade to latest dependencies
grails-plugin-url-mappings Fix default link caching
grails-plugin-validation Added files
grails-shell Merge branch '3.0.x'
grails-spring Fix interceptor reloading
grails-taglib Config - No need to flatten the config anymore
grails-test-suite-base Rework loading of Metadata. Fixes #9375
grails-test-suite-persistence Added files
grails-test-suite-uber Merge branch '3.0.x'
grails-test-suite-web Merge branch '3.0.x'
grails-test Merge branch '3.0.x'
grails-validation GORM compatibility fixes
grails-web-boot Fixes #9226 - SpringBoot Profile not set when deployed as war
grails-web-common Merge branch '3.0.x'
grails-web-databinding Merge branch '3.0.x'
grails-web-fileupload The word Subproject isn't adding anything here
grails-web-gsp-taglib Make forceEncoding configurable
grails-web-gsp Fixes #9122 - ShowSource=True not working in Grails 3.0.3
grails-web-jsp Added files
grails-web-mvc Config - No need to flatten the config anymore
grails-web-sitemesh Added files
grails-web-taglib Allow TagLibraryLookup to be optional. Fixes grails-plugins/grails-sp…
grails-web-url-mappings Merge branch '3.0.x'
grails-web Make forceEncoding configurable
media vector logos
travis Travis build: fix script
.gitignore remove references to dsl-support directory
.springBeans ignoring test temporarily, as due to infrastructure issues it is not …
.travis.yml Fix trigger dependency build
INSTALL ignoring test temporarily, as due to infrastructure issues it is not …
LICENSE Update ant to 1.9.4
NOTICE update LICENSE and README Merge branch '3.0.x'
build.gradle #9369 - update to Gradle 2.9 ignoring test temporarily, as due to infrastructure issues it is not …
gradlew update to Gradle 2.8
gradlew.bat ignoring test temporarily, as due to infrastructure issues it is not …
pubring.gpg.enc Travis publishing test take 2
secring.gpg.enc Travis publish take 3
settings.gradle remove grails-web-initializer subproject
settings.xml.enc Travis publishing test take 2 Merge branch '2.5.x' Merge branch '3.0.x' Remove bash debug output

Waffle.IO Board

  • Stories in Acknowledged
  • Stories in Progress

Build Status

  • Build Status

Slack Signup

  • Slack Signup


Grails is a framework used to build web applications with the Groovy programming language. The core framework is very extensible and there are numerous plugins available that provide easy integration of add-on features.

Grails is sponsored by Object Computing Inc. in St. Louis Missouri. Please contact for support inquiries.

Getting Started

You need a Java Development Kit (JDK) installed, but it is not necessary to install Groovy because it's bundled with the Grails distribution.

To install Grails, visit and download the version you would like to use. Set a GRAILS_HOME environment variable to point to the root of the extracted download and add GRAILS_HOME/bin to your executable PATH. Then in a shell, type the following:

grails create-app sampleapp
cd sampleapp
grails run-app

To build Grails, clone this GitHub repository and execute the install Gradle target:

git clone
cd grails-core
./gradlew install

If you encounter out of memory errors when trying to run the install target, try adjusting Gradle build settings. For example:

export GRADLE_OPTS="-Xmx2G -Xms2G -XX:NewSize=512m -XX:MaxNewSize=512m -XX:MaxPermSize=1G"

Performing a Release

Releases of Grails are automated by Travis CI.

To create a release perform the following steps.

First check that the tests are passing and all is well on Travis.

Next, update the Grails version in build.gradle and grails-core/src/test/groovy/grails/util/ and then push the changes to git:

$ git add build.gradle grails-core/src/test/groovy/grails/util/
$ git commit -m "Release Grails 3.0.1"
$ git tag v3.0.1
$ git push --tags
$ git push

After pushing these changes to the repository you must wait for the build to complete. During this phase the JAR files will be uploaded to the Grails Artefactory Repository.

The Travis CI build will automatically upload the tagged release to Github and be available of the Releases page.

Note: Although by default Grails uses Artefactory to resolve dependencies, it is useful to have them in Maven Central too. To ensure they go to Maven Central login to Sonatype OSS Nexus with your account details then "Close" and "Release" the staged JAR files.


Grails and Groovy are licensed under the terms of the Apache License, Version 2.0.

YourKit is kindly supporting Grails open source projects with its full-featured Java Profiler. YourKit, LLC is the creator of innovative and intelligent tools for profiling Java and .NET applications. Take a look at YourKit's leading software products: YourKit Java Profiler and YourKit .NET Profiler.

Something went wrong with that request. Please try again.