From 5f2e1ba5c78cda719c49473d3c79735970f5b92e Mon Sep 17 00:00:00 2001 From: Mustafa Ozhan Date: Sat, 30 Nov 2024 12:14:55 +0100 Subject: [PATCH] [Oztechan/CCC#4095] Remove UnstableApiUsage --- buildSrc/src/main/kotlin/ProjectSettings.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/buildSrc/src/main/kotlin/ProjectSettings.kt b/buildSrc/src/main/kotlin/ProjectSettings.kt index 52087ab..732f4ce 100644 --- a/buildSrc/src/main/kotlin/ProjectSettings.kt +++ b/buildSrc/src/main/kotlin/ProjectSettings.kt @@ -14,7 +14,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()