Treat warnings from the kotlin compiler as errors
This commit is contained in:
		
							parent
							
								
									546c537e3b
								
							
						
					
					
						commit
						6de64cbedd
					
				| @ -59,6 +59,11 @@ allprojects { | ||||
|         ] | ||||
|     } | ||||
| 
 | ||||
|     tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { | ||||
|         // Warnings are potential errors, so stop ignoring them | ||||
|         kotlinOptions.allWarningsAsErrors = true | ||||
|     } | ||||
| 
 | ||||
|     afterEvaluate { | ||||
|         extensions.findByName("kapt")?.arguments { | ||||
|             arg("dagger.gradle.incremental", "enabled") | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user