Update Gradle wrapper and make tests use older Gradle version to test compatibility
This commit is contained in:
		
							parent
							
								
									ba6e435970
								
							
						
					
					
						commit
						d5dad70de5
					
				
					 4 changed files with 5 additions and 2 deletions
				
			
		
							
								
								
									
										2
									
								
								gradle/wrapper/gradle-wrapper.properties
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								gradle/wrapper/gradle-wrapper.properties
									
									
									
									
										vendored
									
									
								
							|  | @ -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 a new issue