[Windows] Add sbt to Windows 2022 image (#4526)

* [Windows] Add sbt to Windows 2022 image

* Update SoftwareReport.Generator.ps1 to include sbt on Win22
This commit is contained in:
Ewout ter Hoeven
2021-11-22 13:21:03 +01:00
committed by GitHub
parent 0365a15eb6
commit 79dfeeba45
3 changed files with 7 additions and 9 deletions

View File

@@ -74,13 +74,10 @@ $markdown += New-MDHeader "Project Management" -Level 3
$projectManagementTools = @(
(Get-AntVersion),
(Get-GradleVersion),
(Get-MavenVersion)
)
if ((Test-IsWin16) -or (Test-IsWin19)) {
$projectManagementTools += @(
(Get-MavenVersion),
(Get-SbtVersion)
)
}
$markdown += New-MDList -Style Unordered -Lines ($projectManagementTools | Sort-Object)
$markdown += New-MDHeader "Tools" -Level 3

View File

@@ -124,7 +124,7 @@ Describe "PowerShell Core" {
}
}
Describe "Sbt" -Skip:(Test-IsWin22) {
Describe "Sbt" {
It "sbt" {
"sbt --version" | Should -ReturnZeroExitCode
}

View File

@@ -203,6 +203,7 @@
"{{ template_dir }}/scripts/Installers/Install-GitHub-CLI.ps1",
"{{ template_dir }}/scripts/Installers/Install-PHP.ps1",
"{{ template_dir }}/scripts/Installers/Install-Rust.ps1",
"{{ template_dir }}/scripts/Installers/Install-Sbt.ps1",
"{{ template_dir }}/scripts/Installers/Install-Chrome.ps1",
"{{ template_dir }}/scripts/Installers/Install-Edge.ps1",
"{{ template_dir }}/scripts/Installers/Install-Firefox.ps1",