Update Gradle wrapper and make tests use older Gradle version to test compatibility
parent
ba6e435970
commit
d5dad70de5
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
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
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
|
@ -37,6 +37,7 @@ class EmptyBuildFunctionalTest extends Specification {
|
||||||
.withProjectDir(testProjectDir.root)
|
.withProjectDir(testProjectDir.root)
|
||||||
.withArguments('build')
|
.withArguments('build')
|
||||||
.withPluginClasspath()
|
.withPluginClasspath()
|
||||||
|
.withGradleVersion("5.1.1")
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
then:
|
then:
|
||||||
|
|
|
@ -59,9 +59,10 @@ class MixinBuildFunctionalTest extends Specification {
|
||||||
|
|
||||||
when:
|
when:
|
||||||
def result = GradleRunner.create()
|
def result = GradleRunner.create()
|
||||||
.withPluginClasspath()
|
|
||||||
.withProjectDir(testProjectDir.root)
|
.withProjectDir(testProjectDir.root)
|
||||||
.withArguments('build')
|
.withArguments('build')
|
||||||
|
.withPluginClasspath()
|
||||||
|
.withGradleVersion("5.1.1")
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
then:
|
then:
|
||||||
|
|
|
@ -47,6 +47,7 @@ class SimpleBuildFunctionalTest extends Specification {
|
||||||
.withProjectDir(testProjectDir.root)
|
.withProjectDir(testProjectDir.root)
|
||||||
.withArguments('build')
|
.withArguments('build')
|
||||||
.withPluginClasspath()
|
.withPluginClasspath()
|
||||||
|
.withGradleVersion("5.1.1")
|
||||||
.build()
|
.build()
|
||||||
|
|
||||||
then:
|
then:
|
||||||
|
|
Loading…
Reference in New Issue