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 2e73ee8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
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 2e73ee8

Please sign in to comment.