Skip to content

Commit

Permalink
Update Grails and Grails Gradle Plugin version
Browse files Browse the repository at this point in the history
  • Loading branch information
puneetbehl committed Nov 3, 2023
1 parent 79779ee commit 4fe6007
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ micronautDocsVersion=2.0.0
micronautVersion=3.10.2
rockerVersion=1.3.0
groovyVersion=3.0.19
grailsVersion=6.1.0-SNAPSHOT
grailsVersion=6.1.0
spockVersion=2.0-groovy-3.0
title=Grails Application Forge
projectDesc=Generates Grails applications
Expand Down
2 changes: 1 addition & 1 deletion grails-forge-core/src/main/resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<dependency>
<groupId>org.grails</groupId>
<artifactId>grails-gradle-plugin</artifactId>
<version>6.1.0-SNAPSHOT</version>
<version>6.1.0</version>
</dependency>
<dependency>
<groupId>org.grails.plugins</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ class GradleSpec extends ApplicationContextSpec implements CommandOutputFixture
settingsGradle.contains("mavenLocal()")
settingsGradle.contains("maven { url \"https://repo.grails.org/grails/core/\" }")
settingsGradle.contains("gradlePluginPortal()")
settingsGradle.contains("id \"org.grails.grails-web\" version \"6.1.0-SNAPSHOT\"")
settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.1.0-SNAPSHOT\"")
settingsGradle.contains("id \"org.grails.grails-web\" version \"6.1.0\"")
settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.1.0\"")
settingsGradle.contains("id \"com.bertramlabs.asset-pipeline\" version \"4.3.0\"")
}

Expand All @@ -59,9 +59,9 @@ class GradleSpec extends ApplicationContextSpec implements CommandOutputFixture
settingsGradle.contains("mavenLocal()")
settingsGradle.contains("maven { url \"https://repo.grails.org/grails/core/\" }")
settingsGradle.contains("gradlePluginPortal()")
settingsGradle.contains("id \"org.grails.grails-web\" version \"6.1.0-SNAPSHOT\"")
settingsGradle.contains("id \"org.grails.grails-web\" version \"6.1.0\"")
settingsGradle.contains("id \"org.grails.plugins.views-json\" version \"3.0.0\"")
!settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.1.0-SNAPSHOT\"")
!settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.1.0\"")
!settingsGradle.contains("id \"com.bertramlabs.asset-pipeline\" version \"4.3.0\"")
}

Expand All @@ -76,10 +76,10 @@ class GradleSpec extends ApplicationContextSpec implements CommandOutputFixture
settingsGradle.contains("mavenLocal()")
settingsGradle.contains("maven { url \"https://repo.grails.org/grails/core/\" }")
settingsGradle.contains("gradlePluginPortal()")
settingsGradle.contains("id \"org.grails.grails-web\" version \"6.1.0-SNAPSHOT\"")
settingsGradle.contains("id \"org.grails.grails-web\" version \"6.1.0\"")
settingsGradle.contains("id \"org.grails.plugins.views-markup\" version \"3.0.0\"")
!settingsGradle.contains("id \"org.grails.plugins.views-json\" version \"3.0.0\"")
!settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.1.0-SNAPSHOT\"")
!settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.1.0\"")
!settingsGradle.contains("id \"com.bertramlabs.asset-pipeline\" version \"4.3.0\"")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class GrailsGradlePluginSpec extends BeanContextSpec implements CommandOutputFix
final String gradleProps = output["gradle.properties"]

then:
gradleProps.contains("grailsGradlePluginVersion=6.1.0-SNAPSHOT")
gradleProps.contains("grailsVersion=6.1.0-SNAPSHOT")
gradleProps.contains("grailsGradlePluginVersion=6.1.0")
gradleProps.contains("grailsVersion=6.1.0")
}

void "test dependencies are present for buildSrc"() {
Expand All @@ -26,7 +26,7 @@ class GrailsGradlePluginSpec extends BeanContextSpec implements CommandOutputFix
.renderBuildSrc()

then:
template.contains('implementation("org.grails:grails-gradle-plugin:6.1.0-SNAPSHOT")')
template.contains('implementation("org.grails:grails-gradle-plugin:6.1.0")')
}

void "test buildSrc is present for buildscript dependencies"() {
Expand All @@ -36,7 +36,7 @@ class GrailsGradlePluginSpec extends BeanContextSpec implements CommandOutputFix

expect:
buildSrcBuildGradle != null
buildSrcBuildGradle.contains("implementation(\"org.grails:grails-gradle-plugin:6.1.0-SNAPSHOT\")")
buildSrcBuildGradle.contains("implementation(\"org.grails:grails-gradle-plugin:6.1.0\")")

}

Expand Down

0 comments on commit 4fe6007

Please sign in to comment.