buildscript { repositories { google() mavenCentral() jcenter() } dependencies { classpath 'com.android.tools.build:gradle:4.1.1' classpath 'org.owasp:dependency-check-gradle:5.3.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { google() mavenCentral() jcenter() maven { url "https://dl.bintray.com/threema/maven" } flatDir { dirs 'libs' } } // OWASP dependency-check-gradle plugin apply plugin: 'org.owasp.dependencycheck' dependencyCheck { skipConfigurations += 'lintClassPath' // Fail dependency check if any dependency has a CVE with any score (0-10) failBuildOnCVSS 11 } } wrapper { distributionType = Wrapper.DistributionType.ALL }