Skip to content

Commit

Permalink
prep for grails 6.2.1 release (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesfredley authored Oct 4, 2024
1 parent 571684e commit 571452b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
id: build
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
run: ./gradlew build
run: ./gradlew build --refresh-dependencies
- name: "✅ Verify CLI"
if: success()
run: |
Expand Down
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.4
rockerVersion=1.4.0
groovyVersion=3.0.22
grailsVersion=6.2.1-SNAPSHOT
grailsVersion=6.2.1
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 @@ -20,7 +20,7 @@
<dependency>
<groupId>org.grails</groupId>
<artifactId>grails-gradle-plugin</artifactId>
<version>6.1.2</version>
<version>6.2.1</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.2\"")
settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.1.2\"")
settingsGradle.contains("id \"org.grails.grails-web\" version \"6.2.1\"")
settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.2.1\"")
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.2\"")
settingsGradle.contains("id \"org.grails.grails-web\" version \"6.2.1\"")
settingsGradle.contains("id \"org.grails.plugins.views-json\" version \"3.2.3\"")
!settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.1.2\"")
!settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.2.1\"")
!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.2\"")
settingsGradle.contains("id \"org.grails.grails-web\" version \"6.2.1\"")
settingsGradle.contains("id \"org.grails.plugins.views-markup\" version \"3.2.3\"")
!settingsGradle.contains("id \"org.grails.plugins.views-json\" version \"3.2.3\"")
!settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.1.2\"")
!settingsGradle.contains("id \"org.grails.grails-gsp\" version \"6.2.1\"")
!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.2")
gradleProps.contains("grailsVersion=6.2.1-SNAPSHOT")
gradleProps.contains("grailsGradlePluginVersion=6.2.1")
gradleProps.contains("grailsVersion=6.2.1")
}

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.2")')
template.contains('implementation("org.grails:grails-gradle-plugin:6.2.1")')
}

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.2\")")
buildSrcBuildGradle.contains("implementation(\"org.grails:grails-gradle-plugin:6.2.1\")")

}

Expand Down

0 comments on commit 571452b

Please sign in to comment.