All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.owasp.dependencycheck.gradle.extension.DataExtension.groovy Maven / Gradle / Ivy

Go to download

OWASP dependency-check gradle plugin is a software composition analysis tool used to find known vulnerable dependencies.

There is a newer version: 10.0.3
Show newest version
/*
 * This file is part of dependency-check-gradle.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Copyright (c) 2015 Jeremy Long. All Rights Reserved.
 */

package org.owasp.dependencycheck.gradle.extension

import org.gradle.api.Project

/**
 * The update data configuration extension. Any value not configured will use the dependency-check-core defaults.
 */
@groovy.transform.CompileStatic
class DataExtension {
    
    DataExtension(Project project) {
        directory = "${project.gradle.gradleUserHomeDir}/dependency-check-data/9.0"
    }

    /**
     * The directory to store the H2 database that contains the cache of the NVD CVE data.
     */
    String directory;
    /**
     * The connection string to the database.
     */
    String connectionString
    /**
     * The user name to use when connecting to the database.
     */
    String username
    /**
     * The password to use when connecting to the database.
     */
    String password
    /**
     * The database driver name (e.g. org.h2.Driver).
     */
    String driver
    /**
     * The path to the driver (JAR) in case it is not already in the classpath.
     */
    String driverPath
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy