Add tests status logging
This commit is contained in:
		
							parent
							
								
									a4592168ff
								
							
						
					
					
						commit
						1d5cd8cfc0
					
				
							
								
								
									
										12
									
								
								build.gradle
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								build.gradle
									
									
									
									
									
								
							@ -19,6 +19,18 @@ allprojects {
 | 
			
		||||
    }
 | 
			
		||||
    version = VERSION_NAME
 | 
			
		||||
    group = GROUP
 | 
			
		||||
 | 
			
		||||
    project.afterEvaluate {
 | 
			
		||||
        if (project.hasProperty('android')) {
 | 
			
		||||
            project.android.testOptions.unitTests.all {
 | 
			
		||||
                testLogging {
 | 
			
		||||
                    events "passed", "skipped", "failed"
 | 
			
		||||
                    exceptionFormat "short"
 | 
			
		||||
                    showStandardStreams = true
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
task clean(type: Delete) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user