I'd like to fail my build if there are warnings.  I've tried several flags, but nothing is failing the build.  The project has warnings too.  Are there any samples that I could look at to see what I'm doing wrong?  I've tried:
• lint block having warningsAsErrors=true
• allWarningsAsErrors=true in the kotlin compilerOptions block
• org.gradle.kotlin.dsl.allWarningsAsErrors=true in gradle.properties