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

com.danielsomerfield.cvecheck.gradle.ProjectConfiguration.groovy Maven / Gradle / Ivy

There is a newer version: 0.6.2-100
Show newest version
package com.danielsomerfield.cvecheck.gradle

import com.danielsomerfield.cvecheck.Configuration
import com.danielsomerfield.cvecheck.ScanResultHandler
import org.gradle.api.Project

class ProjectConfiguration implements Configuration {

  private final Project project;

  public ProjectConfiguration(final Project project) {
    this.project = project
  }

  @Override
  long refreshAfter() {
    return project.cvecheck.refreshAfter
  }

  @Override
  File buildRoot() {
    return project.buildDir
  }

  @Override
  ScanResultHandler scanResultHandler() {
    return project.cvecheck.scanResultHandler
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy