From 4f4afa2d72a68e7c73884898720e008f3061739f 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 37a55ec..91bab78 100644 --- a/buildSrc/src/main/kotlin/ProjectSettings.kt +++ b/buildSrc/src/main/kotlin/ProjectSettings.kt @@ -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()