I am unable to integrate this config into my project.
I get the following error:
Error:FAILURE: Build failed with an exception.
* Where:
Script '[myprojectpath]\code_quality_tools\quality.gradle' line: 12
* What went wrong:
A problem occurred evaluating script.
> Could not get unknown property 'check' for project ':app' of type org.gradle.api.Project.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
subprojects {
// Code quality checks
apply from: "$rootProject.projectDir/code_quality_tools/quality.gradle"
afterEvaluate {
check.dependsOn 'checkstyle', 'findbugs', 'pmd', 'lint'
}
...
}