Skip to content
Snippets Groups Projects
Commit 1fb8caa7 authored by anttil's avatar anttil
Browse files

SSDM-6219: Task to run OWASP dependency check

parent df21944c
No related branches found
No related tags found
No related merge requests found
buildscript {
apply from: '../gradle/repository.gradle'
repositories repositoryConfig
dependencies {
classpath 'apache:commons-codec:+',
'owasp:dependency-check-gradle-full:+'
}
}
plugins {
id "org.owasp.dependencycheck" version "3.1.2"
}
dependencyCheck {
failBuildOnCVSS = 7 // 0 - 4 = low, 4 - 7 = medium, 7 - 9 = high, 9-10 = critical
analyzers{
assemblyEnabled = false
}
}
evaluationDependsOn(':commonbase') evaluationDependsOn(':commonbase')
evaluationDependsOn(':common') evaluationDependsOn(':common')
evaluationDependsOn(':openbis_api') evaluationDependsOn(':openbis_api')
...@@ -12,6 +34,7 @@ evaluationDependsOn(':rtd_yeastx') ...@@ -12,6 +34,7 @@ evaluationDependsOn(':rtd_yeastx')
evaluationDependsOn(':deep_sequencing_unit') evaluationDependsOn(':deep_sequencing_unit')
evaluationDependsOn(':plasmid') evaluationDependsOn(':plasmid')
apply from: '../gradle/javaproject.gradle' apply from: '../gradle/javaproject.gradle'
apply from: 'query-api.gradle' apply from: 'query-api.gradle'
apply from: 'screening-api.gradle' apply from: 'screening-api.gradle'
...@@ -80,16 +103,6 @@ dependencies { ...@@ -80,16 +103,6 @@ dependencies {
project(path:':screening') project(path:':screening')
} }
buildscript {
apply from: '../gradle/repository.gradle'
repositories repositoryConfig
dependencies {
classpath 'apache:commons-codec:+'
}
}
task compileGwt (dependsOn: classes, type: JavaExec) { task compileGwt (dependsOn: classes, type: JavaExec) {
ext.buildDir = "${project.buildDir}/gwt" ext.buildDir = "${project.buildDir}/gwt"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment