Skip to content

Commit

Permalink
[Oztechan/CCC#4095] Remove UnstableApiUsage
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed Nov 30, 2024
1 parent be23e8c commit 4f4afa2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion buildSrc/src/main/kotlin/ProjectSettings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ object ProjectSettings {
project: Project
) = "$MAYOR_VERSION.$MINOR_VERSION.${gitCommitCount(project).toInt() - VERSION_DIF}"

@Suppress("UnstableApiUsage")
private fun gitCommitCount(project: Project): String = project.providers.exec {
commandLine("git rev-list --first-parent --count HEAD".split(" "))
}.standardOutput.asText.get().trim()
Expand Down

0 comments on commit 4f4afa2

Please sign in to comment.