We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd28c51 commit a0aa928Copy full SHA for a0aa928
src/groovy/org/codehaus/groovy/grails/plugins/support/GrailsPluginUtils.groovy
@@ -6,16 +6,7 @@ class GrailsPluginUtils {
6
7
static grailsVersion = null
8
static getGrailsVersion() {
9
- if(grailsVersion)return grailsVersion
10
-
11
- grailsVersion = GrailsUtil.getGrailsVersion()
12
- if(!grailsVersion)return 0.1
13
- if(grailsVersion.endsWith("-SNAPSHOT"))
14
- grailsVersion = grailsVersion[0..-10].toBigDecimal()
15
- else {
16
- grailsVersion.toBigDecimal()
17
- }
18
- return grailsVersion
+ return GrailsUtil.getGrailsVersion()
19
}
20
21
0 commit comments