Search in sources :

Example 1 with PropertiesConfig

use of org.jfrog.gradle.plugin.artifactory.dsl.PropertiesConfig in project build-info by JFrogDev.

the class ArtifactoryTask method properties.

public void properties(Closure closure) {
    Project project = getProject();
    PropertiesConfig propertiesConfig = new PropertiesConfig(project);
    ConfigureUtil.configure(closure, propertiesConfig);
    artifactSpecs.clear();
    artifactSpecs.addAll(propertiesConfig.getArtifactSpecs());
}
Also used : Project(org.gradle.api.Project) PropertiesConfig(org.jfrog.gradle.plugin.artifactory.dsl.PropertiesConfig)

Aggregations

Project (org.gradle.api.Project)1 PropertiesConfig (org.jfrog.gradle.plugin.artifactory.dsl.PropertiesConfig)1