Skip to content
Snippets Groups Projects
Commit 78e1c521 authored by juanf's avatar juanf
Browse files

SSDM-6924 : Gradle plugin to support zip files with symlinks

parent b9c0dd64
No related branches found
No related tags found
No related merge requests found
...@@ -5,11 +5,13 @@ buildscript { ...@@ -5,11 +5,13 @@ buildscript {
dependencies { dependencies {
classpath 'apache:commons-codec:+', classpath 'apache:commons-codec:+',
'owasp:dependency-check-gradle:+' 'owasp:dependency-check-gradle:+',
'paleozogt:symzip-plugin:+'
} }
} }
apply plugin: org.owasp.dependencycheck.gradle.DependencyCheckPlugin apply plugin: org.owasp.dependencycheck.gradle.DependencyCheckPlugin
apply plugin: "org.paleozogt.symzip"
dependencyCheck { dependencyCheck {
failBuildOnCVSS = 7 // 0 - 4 = low, 4 - 7 = medium, 7 - 9 = high, 9-10 = critical failBuildOnCVSS = 7 // 0 - 4 = low, 4 - 7 = medium, 7 - 9 = high, 9-10 = critical
...@@ -272,7 +274,9 @@ def downloadFile(url, filename) { ...@@ -272,7 +274,9 @@ def downloadFile(url, filename) {
} }
} }
task zipCorePlugins(type: Zip) { import org.paleozogt.gradle.zip.SymZip;
task zipCorePlugins(type: SymZip) {
archiveName 'core-plugins.zip' archiveName 'core-plugins.zip'
downloadFile('https://github.com/aarpon/obit_flow_core_technology/archive/release/18.x.zip', 'flow.zip') downloadFile('https://github.com/aarpon/obit_flow_core_technology/archive/release/18.x.zip', 'flow.zip')
downloadFile('https://github.com/aarpon/obit_microscopy_core_technology/archive/release/18.x.zip', 'microscopy.zip') downloadFile('https://github.com/aarpon/obit_microscopy_core_technology/archive/release/18.x.zip', 'microscopy.zip')
......
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