-
Notifications
You must be signed in to change notification settings - Fork 0
/
Resolve-Dependency.psd1
49 lines (42 loc) · 2.85 KB
/
Resolve-Dependency.psd1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@{
<#
Default parameter values to be loaded by the Resolve-Dependency.ps1 script (unless set in bound parameters
when calling the script).
#>
#PSDependTarget = './output/modules'
#Proxy = ''
#ProxyCredential = '$MyCredentialVariable' #TODO: find a way to support credentials in build (resolve variable)
Gallery = 'PSGallery'
# To use a private nuget repository change the following to your own feed. The locations must be a Nuget v2 feed due
# to limitation in PowerShellGet v2.x. Example below is for a Azure DevOps Server project-scoped feed. While resolving
# dependencies it will be registered as a trusted repository with the name specified in the property 'Gallery' above,
# unless property 'Name' is provided in the hashtable below, if so it will override the property 'Gallery' above. The
# registered repository will be removed when dependencies has been resolved, unless it was already registered to begin
# with. If repository is registered already but with different URL:s the repository will be re-registered and reverted
# after dependencies has been resolved. Currently only Windows integrated security works with private Nuget v2 feeds
# (or if it is a public feed with no security), it is not possible yet to securely provide other credentials for the feed.
# Private repositories will currently only work using PowerShellGet.
#RegisterGallery = @{
# #Name = 'MyPrivateFeedName'
# GallerySourceLocation = 'https://azdoserver.company.local/<org_name>/<project_name>/_packaging/<feed_name>/nuget/v2'
# GalleryPublishLocation = 'https://azdoserver.company.local/<org_name>/<project_name>/_packaging/<feed_name>/nuget/v2'
# GalleryScriptSourceLocation = 'https://azdoserver.company.local/<org_name>/<project_name>/_packaging/<feed_name>/nuget/v2'
# GalleryScriptPublishLocation = 'https://azdoserver.company.local/<org_name>/<project_name>/_packaging/<feed_name>/nuget/v2'
# #InstallationPolicy = 'Trusted'
#}
#AllowOldPowerShellGetModule = $true
#MinimumPSDependVersion = '0.3.0'
AllowPrerelease = $false
WithYAML = $true # Will also bootstrap PowerShell-Yaml to read other config files
# Enable ModuleFast to resolve dependencies. Requires PowerShell 7.2 or higher.
# If this is not configured or set to $false then PowerShellGet and PackageManagement
# will be used to resolve dependencies.
#UseModuleFast = $true
# Enable PSResourceGet to resolve dependencies. Requires PowerShell 7.2 or higher.
# If this is not configured or set to $false then PowerShellGet and PackageManagement
# will be used to resolve dependencies.
#UsePSResourceGet = $true
#PSResourceGetVersion = '1.0.0'
#UsePowerShellGetCompatibilityModule = $true
#UsePowerShellGetCompatibilityModuleVersion = '3.0.22-beta22'
}