rename provisionBaseDesktop to provisionBasicDesktop

This commit is contained in:
az 2022-07-20 18:37:13 +02:00
parent 830a93a468
commit 751d315299
2 changed files with 5 additions and 4 deletions

View file

@ -18,7 +18,7 @@ apply plugin: "kotlinx-serialization"
group = "org.domaindrivenarchitecture.provs"
version = "release-0.15.1"
version = "release-0.15.2"
repositories {
mavenCentral()

View file

@ -40,7 +40,7 @@ internal fun Prov.provisionDesktop(
) = task {
validatePrecondition()
provisionBaseDesktop(gpg, ssh, gitUserName, gitEmail, submodules)
provisionBasicDesktop(gpg, ssh, gitUserName, gitEmail, submodules)
if (desktopType == DesktopType.OFFICE || desktopType == DesktopType.IDE) {
provisionOfficeDesktop(submodules)
@ -77,10 +77,11 @@ fun Prov.provisionIdeDesktop(submodules: List<String>?) {
}
}
@Suppress("unused")
fun Prov.provisionMSDesktop(submodules: List<String>?) {
if (submodules == null) {
installMsTeams()
} else if (submodules?.contains(DesktopSubmodule.TEAMS.name.lowercase()) == true) {
} else if (submodules.contains(DesktopSubmodule.TEAMS.name.lowercase())) {
installMsTeams()
}
}
@ -103,7 +104,7 @@ fun Prov.provisionOfficeDesktop(submodules: List<String>?) {
}
}
fun Prov.provisionBaseDesktop(
fun Prov.provisionBasicDesktop(
gpg: KeyPair?,
ssh: KeyPair?,
gitUserName: String?,