Skip to content

Instantly share code, notes, and snippets.

@ishults
Last active June 14, 2024 08:39
Show Gist options
  • Save ishults/82a68897d85122562f65 to your computer and use it in GitHub Desktop.
Save ishults/82a68897d85122562f65 to your computer and use it in GitHub Desktop.
List of Groovy versions for Grails
// Compiled by Igor Shults
// Last Updated: July 23, 2020
GRAILS GROOVY SOURCE
4.1.0 2.5.14 https://github.com/grails/grails-core/blob/v4.1.0/gradle.properties
4.0.4 2.5.6
4.0.3 2.5.6
4.0.2 2.5.6
4.0.1 2.5.6
4.0.0 2.5.6 https://github.com/grails/grails-core/blob/v4.0.0/build.gradle
3.3.11 2.4.17
3.3.10 2.4.17 https://github.com/grails/grails-core/commit/06a05143ec9039e631a2543b11fb52576157643e#diff-c197962302397baf3a4cc36463dce5ea
3.3.9 2.4.15
3.3.8 2.4.15
3.3.7 2.4.15
3.3.6 2.4.15
3.3.5 2.4.15 https://github.com/grails/grails-core/blob/v3.3.5/build.gradle
3.3.4 2.4.14
3.3.3 2.4.14 https://github.com/grails/grails-core/blob/dd4dfa01cb263637dd32c76146dc9377e28ba45f/build.gradle#L43
3.3.2 2.4.13 https://github.com/grails/grails-core/blob/3.3.x/build.gradle
3.3.1 2.4.11
3.3.0 2.4.11
3.2.13 2.4.15 https://github.com/grails/grails-core/blob/v3.2.13/build.gradle
3.2.12 2.4.11
3.2.11 2.4.11 https://github.com/grails/grails-core/blob/d85666969f3ef38386115d206f63dda552f94cbd/build.gradle
3.2.10 2.4.10
3.2.9 2.4.10
3.2.8 2.4.10 https://github.com/grails/grails-core/blob/7bc3b8adb23af80c4ca9b875469d20852666184f/build.gradle
3.2.7 2.4.7
3.2.6 2.4.7
3.2.5 2.4.7
3.2.4 2.4.7
3.2.3 2.4.7
3.2.2 2.4.7
3.2.1 2.4.7
3.2.0 2.4.7
3.1.16 2.4.7
3.1.15 2.4.7
3.1.14 2.4.7
3.1.13 2.4.7
3.1.12 2.4.7
3.1.11 2.4.7
3.1.10 2.4.7
3.1.9 2.4.7 https://github.com/grails/grails-core/blob/cad0e807f768aa766ee5d482060692cee22e6bcc/build.gradle
3.1.8 2.4.6
3.1.7 2.4.6
3.1.6 2.4.6
3.1.5 2.4.6
3.1.4 2.4.6
3.1.3 2.4.6
3.1.2 2.4.6 https://github.com/grails/grails-core/blob/695a11caa4025e91bdbf5094c0b6324cf5b22075/build.gradle
3.1.1 2.4.5
3.1.0 2.4.5 https://github.com/grails/grails-core/blob/c309bfe2f4613942cccbd2428f35ca6f0d018419/build.gradle
3.0.17 2.4.5
3.0.16 2.4.5
3.0.15 2.4.5
3.0.14 2.4.5
3.0.13 2.4.5
3.0.12 2.4.5
3.0.11 2.4.5
3.0.10 2.4.5
3.0.9 2.4.5 https://github.com/grails/grails-core/blob/564dcdf6204c74cf64c29ef4de206fdca5635a87/build.gradle
3.0.8 2.4.4
3.0.7 2.4.4
3.0.6 2.4.4
3.0.5 2.4.4
3.0.4 2.4.4
3.0.3 2.4.4 https://github.com/grails/grails-core/blob/4be6d666773353bd4c9a8fcb0a608f184012338d/build.gradle
3.0.2 2.4.3
3.0.1 2.4.3 https://github.com/grails/grails-core/blob/2762f11b7ce6defdfafa010ca5e19be8c2a91f0a/build.gradle
3.0.0 2.4 https://grails.github.io/grails-doc/3.0.x/guide/introduction.html
2.5.6 2.4.10 https://github.com/grails/grails-core/blob/bd7cc10e17d34f20cedce979724f0e3bacd4cdb4/build.gradle
2.5.5 2.4.5 https://github.com/grails/grails-core/commit/0ec157df1ec607ef7da58a751979f28d9a090cf4
2.5.4 2.4.4
2.5.3 2.4.4
2.5.2 2.4.4
2.5.1 2.4.4 http://mvnrepository.com/artifact/org.grails/grails-core/2.5.1
2.5.0 2.4.3 http://mvnrepository.com/artifact/org.grails/grails-core/2.5.0
2.4.5 2.3.11 http://mvnrepository.com/artifact/org.grails/grails-core/2.4.5
2.4.4 2.3.7 http://mvnrepository.com/artifact/org.grails/grails-core/2.4.4
2.4.3 2.3.6 http://mvnrepository.com/artifact/org.grails/grails-core/2.4.3
2.4.2 2.3.3
2.4.1 2.3.3 https://jira.grails.org/browse/GRAILS-11476
2.4.0 2.3.0* https://grails.github.io/grails-doc/2.4.x/guide/introduction.html#whatsNew24
*First version officially compatible with Java 8.
2.3.11 2.1.9 https://objectpartners.com/2015/05/14/list-of-groovy-versions-for-each-version-of-grails/#comment-9329
2.3.10 2.1.9
2.3.9 2.1.9
2.3.8 2.1.9
2.3.7 2.1.9
2.3.6 2.1.9
2.3.5 2.1.9
2.3.4 2.1.9
2.3.3 2.1.9
2.3.2 2.1.9 http://mvnrepository.com/artifact/org.grails/grails-core/2.3.5
2.3.1 2.1.8 http://mvnrepository.com/artifact/org.grails/grails-core/2.3.1
2.3.0 2.1.6 https://stackoverflow.com/questions/21799742/groovy-2-1-directorysize-method-not-found See also: http://www.groovy-lang.org/releasenotes/groovy-2.3.html
2.2.5 2.0.8
2.2.4 2.0.8
2.2.3 2.0.8
2.2.2 2.0.8 http://mvnrepository.com/artifact/org.grails/grails-core/2.2.2
2.2.1 2.0.7 http://mvnrepository.com/artifact/org.grails/grails-core/2.2.1
2.2.0 2.0.5 https://jira.grails.org/browse/GRAILS-9474
2.1.5 1.8.8
2.1.4 1.8.8
2.1.3 1.8.8
2.1.2 1.8.8
2.1.1 1.8.8 https://jira.grails.org/browse/GRAILS-9394
2.1.0 1.8.6
2.0.4 1.8.6
2.0.3 1.8.6
2.0.2 1.8.6
2.0.1 1.8.6 https://jira.grails.org/browse/GRAILS-8696
2.0.0 1.8.0 https://grails.github.io/grails-doc/2.0.x/guide/introduction.html
1.3.9 1.7.8
1.3.8 1.7.8
1.3.7 1.7.8 This and all below from: http://gregopet.blogspot.com/2010/12/which-groovy-version-does-my-grails.html
1.3.6 1.7.5
1.3.5 1.7.5
1.3.4 1.7.4
1.3.3 1.7.3
1.3.2 1.7.3
1.3.1 1.7.0
1.3.0 1.7.0
1.2.5 1.6.8
1.2.4 1.6.8
1.2.3 1.6.8
1.2.2 1.6.8
1.2.1 1.6.5
1.2.0 1.6.5
@rdmueller
Copy link

@rdmueller
Copy link

what also is good to know is that Groovy >= 2.3 is needed for JDK 8 ...

@ishults
Copy link
Author

ishults commented May 20, 2015

Thanks @rdmueller, I've updated the list. That's a good point about the JDK, I'll make a note when I'm back at my machine.

@zhuravskiy
Copy link

Grails 2.5.3 contains Groovy 2.4.4

@Neoryder
Copy link

Neoryder commented Mar 9, 2017

Would be great if a maximum and minimum JDK version per groovy version is included

@SubhaniKhan
Copy link

currently I am using grails 1.1.1.
grails 1.1.1 will support java 1.7?

@verglor
Copy link

verglor commented Apr 4, 2018

3.3.3     2.4.14  https://github.com/grails/grails-core/blob/dd4dfa01cb263637dd32c76146dc9377e28ba45f/build.gradle#L43
3.2.12    2.4.11

@ishults
Copy link
Author

ishults commented Jan 23, 2019

3.3.3     2.4.14  https://github.com/grails/grails-core/blob/dd4dfa01cb263637dd32c76146dc9377e28ba45f/build.gradle#L43
3.2.12    2.4.11

Thanks @verglor

@dbaylerg
Copy link

I would think this is where the groovy version is specified

https://github.com/grails/grails-core/blob/v4.0.8/gradle.properties

@Frankst2
Copy link

Frankst2 commented Nov 4, 2022

Hi Igor,
I think the version for 4.1.0 needs to be fixed, https://github.com/grails/grails-core/blob/v4.1.0/gradle.properties says for the Groovy Version 2.5.14, the build.gradle file points to the project map these days:
groovyVersion = System.getenv('CI_GROOVY_VERSION') ?: project.groovyVersion

@ishults
Copy link
Author

ishults commented Feb 9, 2023

Thanks @Frankst2 --fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment