adding_kotlin in ubuntu_24 (#10474)

This commit is contained in:
vidyasagarnimmagaddi
2024-08-22 00:27:56 +05:30
committed by GitHub
parent 5ab121d559
commit f8049e323b
3 changed files with 3 additions and 4 deletions

View File

@@ -48,9 +48,7 @@ if (Test-IsUbuntu20) {
$languageAndRuntime.AddToolVersionsListInline("GNU C++", $(Get-CPPVersions), "^\d+")
$languageAndRuntime.AddToolVersionsListInline("GNU Fortran", $(Get-FortranVersions), "^\d+")
$languageAndRuntime.AddToolVersion("Julia", $(Get-JuliaVersion))
if ((Test-IsUbuntu20) -or (Test-IsUbuntu22)) {
$languageAndRuntime.AddToolVersion("Kotlin", $(Get-KotlinVersion))
}
$languageAndRuntime.AddToolVersion("Kotlin", $(Get-KotlinVersion))
if (-not $(Test-IsUbuntu24)) {
$languageAndRuntime.AddToolVersion("Mono", $(Get-MonoVersion))
$languageAndRuntime.AddToolVersion("MSBuild", $(Get-MsbuildVersion))

View File

@@ -390,7 +390,7 @@ Describe "yq" {
}
}
Describe "Kotlin" -Skip:((-not (Test-IsUbuntu20)) -and (-not (Test-IsUbuntu22))) {
Describe "Kotlin" {
It "kapt" {
"kapt -version" | Should -ReturnZeroExitCode
}

View File

@@ -298,6 +298,7 @@ provisioner "shell" {
"${path.root}/../scripts/build/install-java-tools.sh",
"${path.root}/../scripts/build/install-kubernetes-tools.sh",
"${path.root}/../scripts/build/install-miniconda.sh",
"${path.root}/../scripts/build/install-kotlin.sh",
"${path.root}/../scripts/build/install-mysql.sh",
"${path.root}/../scripts/build/install-nginx.sh",
"${path.root}/../scripts/build/install-nodejs.sh",