File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ buildscript {
2929 jcenter()
3030 }
3131 dependencies {
32- classpath ' com.google.protobuf:protobuf-gradle-plugin:0.8.6 '
33- classpath ' org.owasp:dependency-check-gradle:4.0.2 '
32+ classpath ' com.google.protobuf:protobuf-gradle-plugin:0.8.10 '
33+ classpath ' org.owasp:dependency-check-gradle:5.2.0 '
3434 classpath ' com.github.jengelman.gradle.plugins:shadow:5.0.0'
3535 }
3636}
@@ -87,5 +87,9 @@ allprojects {
8787 }
8888}
8989
90+ wrapper {
91+ distributionType = Wrapper.DistributionType . ALL
92+ }
93+
9094// endregion Root project script
9195
Original file line number Diff line number Diff line change @@ -49,6 +49,18 @@ tasks.withType(Checkstyle) {
4949 }
5050}
5151
52+ dependencyCheck {
53+ def supFile = " ${ project.projectDir} /dependency-check-suppressions.xml"
54+ if (file(supFile). exists() && ! Project . hasProperty(' dependencyCheck.suppressions.skip' )) {
55+ suppressionFiles + = supFile
56+ }
57+ outputDirectory = " ${ project.buildDir} /reports/dependency-check"
58+ formats = [' HTML' , ' JUNIT' ]
59+ skipConfigurations = [' mavenDeployer' ]
60+ cveValidForHours = 1
61+ failBuildOnCVSS = 0
62+ }
63+
5264jacoco {
5365 toolVersion = " 0.8.2"
5466}
You can’t perform that action at this time.
0 commit comments