19 lines
		
	
	
		
			323 B
		
	
	
	
		
			Groovy
		
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			323 B
		
	
	
	
		
			Groovy
		
	
	
	
| // Enable testing scala code in groovy spock tests.
 | |
| 
 | |
| apply plugin: 'scala'
 | |
| 
 | |
| configurations {
 | |
|   all {
 | |
|     if (it.name != "zinc") {
 | |
|       resolutionStrategy {
 | |
|         force deps.scala
 | |
|       }
 | |
|     }
 | |
|   }
 | |
| }
 | |
| 
 | |
| compileTestGroovy {
 | |
|   classpath = classpath.plus(files(compileTestScala.destinationDir))
 | |
|   dependsOn compileTestScala
 | |
| }
 |