Update Gradle wrapper and make tests use older Gradle version to test compatibility

dev/0.11
Mitchell Skaggs 2019-06-16 13:31:58 -05:00
parent ba6e435970
commit d5dad70de5
No known key found for this signature in database
GPG Key ID: 4EB0FECB84AE8967
4 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -37,6 +37,7 @@ class EmptyBuildFunctionalTest extends Specification {
.withProjectDir(testProjectDir.root)
.withArguments('build')
.withPluginClasspath()
.withGradleVersion("5.1.1")
.build()
then:

View File

@ -59,9 +59,10 @@ class MixinBuildFunctionalTest extends Specification {
when:
def result = GradleRunner.create()
.withPluginClasspath()
.withProjectDir(testProjectDir.root)
.withArguments('build')
.withPluginClasspath()
.withGradleVersion("5.1.1")
.build()
then:

View File

@ -47,6 +47,7 @@ class SimpleBuildFunctionalTest extends Specification {
.withProjectDir(testProjectDir.root)
.withArguments('build')
.withPluginClasspath()
.withGradleVersion("5.1.1")
.build()
then: