Skip to content

Commit

Permalink
Update project
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbel committed Dec 26, 2024
1 parent e523826 commit 2470ab7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
15 changes: 10 additions & 5 deletions composeApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,17 @@ plugins {
}

private val gitCommitsCount: Int by lazy {
val stdout = ByteArrayOutputStream()
rootProject.exec {
commandLine("git", "rev-list", "--count", "HEAD")
standardOutput = stdout
when {
System.getProperty("os.name").contains("Windows", ignoreCase = true) -> 1
else -> {
val stdout = ByteArrayOutputStream()
exec {
commandLine("git", "rev-list", "--count", "HEAD")
standardOutput = stdout
}
stdout.toString(Charset.defaultCharset()).trim().toInt()
}
}
stdout.toString(Charset.defaultCharset()).trim().toInt()
}

kotlin {
Expand Down
6 changes: 3 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ kotlinx-datetime = "0.6.1"
kotlinx-serialization = "1.7.3"

coil3 = "3.0.4"
ktor = "3.0.2"
koin = "4.0.0"
koin-compose = "4.0.0"
ktor = "3.0.3"
koin = "4.0.1"
koin-compose = "4.0.1"
okio = "3.9.1"
buildkonfig = "0.15.2"
napier = "2.7.1"
Expand Down

0 comments on commit 2470ab7

Please sign in to comment.