diff --git a/openbis_ng_ui/build.gradle b/openbis_ng_ui/build.gradle index 64c960cd5cdb5783540d1a45b1adb7368fb4ec40..666ac1f1eeb1410bfc85f54683988cbc46991de3 100644 --- a/openbis_ng_ui/build.gradle +++ b/openbis_ng_ui/build.gradle @@ -1,30 +1,15 @@ -buildscript { - apply from: '../gradle/repository.gradle' - - repositories { - ivy { - ivyPattern "https://sissource.ethz.ch/openbis/openbis-public/openbis-ivy/-/raw/main/[organisation]/[module]/[revision]/ivy.xml" - artifactPattern "https://sissource.ethz.ch/openbis/openbis-public/openbis-ivy/-/raw/main/[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]" - } - } - - dependencies { - classpath 'com.fasterxml.jackson.core:jackson-core:2.13.3', - 'com.fasterxml.jackson.core:jackson-databind:2.13.3', - 'com.github.node-gradle:gradle-node-plugin:3.2.1' - } +plugins { + id "com.github.node-gradle.node" version "3.2.1" } configure(allprojects) { apply plugin:'base' - + repositories { mavenCentral() } } -apply plugin: "com.github.node-gradle.node" - node { download = true version = '10.22.0' diff --git a/openbis_standard_technologies/build.gradle b/openbis_standard_technologies/build.gradle index 0d555b171aa6c76b7201224cbd697e97519b8701..0be100146ae67ebaf08aecb025ad99ac57c26b98 100644 --- a/openbis_standard_technologies/build.gradle +++ b/openbis_standard_technologies/build.gradle @@ -3,17 +3,18 @@ buildscript { repositories repositoryConfig - dependencies { - classpath 'apache:commons-codec:1.10', - 'owasp:dependency-check-gradle:6.2.2', - 'paleozogt:symzip-plugin:0.10.1', - 'com.github.node-gradle:gradle-node-plugin:3.2.1' - } + dependencies { + classpath 'apache:commons-codec:1.10', + 'owasp:dependency-check-gradle:6.2.2', + 'paleozogt:symzip-plugin:0.10.1' + } } +plugins { + id "com.github.node-gradle.node" version "3.2.1" +} apply plugin: org.owasp.dependencycheck.gradle.DependencyCheckPlugin apply plugin: "org.paleozogt.symzip" -apply plugin: "com.github.node-gradle.node" dependencyCheck { failBuildOnCVSS = 7 // 0 - 4 = low, 4 - 7 = medium, 7 - 9 = high, 9-10 = critical