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 9c8b419 commit b2fe1e8
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 @@ -19,7 +19,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 b2fe1e8

Please sign in to comment.