diff --git a/src/main/groovy/org/owasp/dependencycheck/gradle/extension/DataExtension.groovy b/src/main/groovy/org/owasp/dependencycheck/gradle/extension/DataExtension.groovy index 3d28c99..337fb4f 100644 --- a/src/main/groovy/org/owasp/dependencycheck/gradle/extension/DataExtension.groovy +++ b/src/main/groovy/org/owasp/dependencycheck/gradle/extension/DataExtension.groovy @@ -27,7 +27,7 @@ import org.gradle.api.Project class DataExtension { DataExtension(Project project) { - directory = "${project.gradle.gradleUserHomeDir}/dependency-check-data/7.0" + directory = "${project.gradle.gradleUserHomeDir}/dependency-check-data/9.0" } /** diff --git a/src/main/resources/task.properties b/src/main/resources/task.properties index 89cfc0f..2704088 100644 --- a/src/main/resources/task.properties +++ b/src/main/resources/task.properties @@ -1,6 +1,6 @@ # the path to the data directory ### Do not define the path here - it is defined in DataExtension -### data.directory=[JAR]/../../dependency-check-data/5.0 +### data.directory=[JAR]/../../dependency-check-data/9.0 # disable the central analyzer by default analyzer.central.enabled=false \ No newline at end of file diff --git a/src/test/groovy/org/owasp/dependencycheck/gradle/DependencyCheckGradlePluginSpec.groovy b/src/test/groovy/org/owasp/dependencycheck/gradle/DependencyCheckGradlePluginSpec.groovy index 0fd8052..5f9257a 100644 --- a/src/test/groovy/org/owasp/dependencycheck/gradle/DependencyCheckGradlePluginSpec.groovy +++ b/src/test/groovy/org/owasp/dependencycheck/gradle/DependencyCheckGradlePluginSpec.groovy @@ -43,7 +43,7 @@ class DependencyCheckGradlePluginSpec extends Specification { DependencyCheckExtension extension = project.extensions.findByName('dependencyCheck') as DependencyCheckExtension expect: - extension.data.directory == "${project.gradle.gradleUserHomeDir}/dependency-check-data/7.0" + extension.data.directory == "${project.gradle.gradleUserHomeDir}/dependency-check-data/9.0" } def "dependencyCheckAnalyze task exists"() {