rename provisionBaseDesktop to provisionBasicDesktop
This commit is contained in:
parent
830a93a468
commit
751d315299
2 changed files with 5 additions and 4 deletions
|
@ -18,7 +18,7 @@ apply plugin: "kotlinx-serialization"
|
||||||
|
|
||||||
|
|
||||||
group = "org.domaindrivenarchitecture.provs"
|
group = "org.domaindrivenarchitecture.provs"
|
||||||
version = "release-0.15.1"
|
version = "release-0.15.2"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
|
@ -40,7 +40,7 @@ internal fun Prov.provisionDesktop(
|
||||||
) = task {
|
) = task {
|
||||||
|
|
||||||
validatePrecondition()
|
validatePrecondition()
|
||||||
provisionBaseDesktop(gpg, ssh, gitUserName, gitEmail, submodules)
|
provisionBasicDesktop(gpg, ssh, gitUserName, gitEmail, submodules)
|
||||||
|
|
||||||
if (desktopType == DesktopType.OFFICE || desktopType == DesktopType.IDE) {
|
if (desktopType == DesktopType.OFFICE || desktopType == DesktopType.IDE) {
|
||||||
provisionOfficeDesktop(submodules)
|
provisionOfficeDesktop(submodules)
|
||||||
|
@ -77,10 +77,11 @@ fun Prov.provisionIdeDesktop(submodules: List<String>?) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suppress("unused")
|
||||||
fun Prov.provisionMSDesktop(submodules: List<String>?) {
|
fun Prov.provisionMSDesktop(submodules: List<String>?) {
|
||||||
if (submodules == null) {
|
if (submodules == null) {
|
||||||
installMsTeams()
|
installMsTeams()
|
||||||
} else if (submodules?.contains(DesktopSubmodule.TEAMS.name.lowercase()) == true) {
|
} else if (submodules.contains(DesktopSubmodule.TEAMS.name.lowercase())) {
|
||||||
installMsTeams()
|
installMsTeams()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,7 +104,7 @@ fun Prov.provisionOfficeDesktop(submodules: List<String>?) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun Prov.provisionBaseDesktop(
|
fun Prov.provisionBasicDesktop(
|
||||||
gpg: KeyPair?,
|
gpg: KeyPair?,
|
||||||
ssh: KeyPair?,
|
ssh: KeyPair?,
|
||||||
gitUserName: String?,
|
gitUserName: String?,
|
||||||
|
|
Loading…
Reference in a new issue