Adding nuget config to configuration.
@@ -723,6 +723,11 @@ public class DetectConfiguration {
@HelpDescription("The names of the projects to include")
private String gradleIncludedProjectNames;
+ @Value("${detect.nuget.config.path:}")
+ @HelpGroup(primary = GROUP_NUGET)
+ @HelpDescription("The path to the Nuget.Config file to supply to the nuget exe")
+ private String nugetConfigPath;
+
@Value("${detect.nuget.inspector.name:}")
@DefaultValue("IntegrationNugetInspector")
@HelpGroup(primary = GROUP_NUGET)
@@ -1277,6 +1282,10 @@ public class DetectConfiguration {
return gradleIncludedProjectNames;
}
+ public String getNugetConfigPath() {
+ return nugetConfigPath;
+ }
+
public String getNugetInspectorPackageName() {
return nugetInspectorPackageName;
}
