Skip to content

Commit 98b6a25

Browse files
authored
chore: remove unused gitHash function and update AS requirements due to AGP 9.1.0 upgrade (#221)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated minimum Android Studio version requirement to Panda 2 (2025.3.2) or later. * **Chores** * Removed unused git hash generation from the build process. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 65fdffa commit 98b6a25

2 files changed

Lines changed: 1 addition & 11 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Thank you for considering contributing to DebugOverlay! This document outlines h
1212

1313
### Prerequisites
1414

15-
- Android Studio Narwhal (2025.1.1) or later
15+
- Android Studio Panda 2 (2025.3.2) or later
1616
- JDK 21+
1717
- Kotlin 2.2+
1818
- Basic knowledge of Jetpack Compose

sample/build.gradle.kts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ java {
1414
}
1515
}
1616

17-
fun gitHash(): String = Runtime
18-
.getRuntime()
19-
.exec("git rev-parse --short HEAD")
20-
.inputStream
21-
.bufferedReader()
22-
.readText()
23-
.trim()
24-
2517
android {
2618
namespace = "com.ms.square.debugoverlay.sample"
2719
compileSdk = libs.versions.androidCompileSdk.get().toInt()
@@ -33,8 +25,6 @@ android {
3325

3426
versionCode = 1
3527
versionName = "1.0.0"
36-
37-
buildConfigField("String", "GIT_HASH", "\"${gitHash()}\"")
3828
}
3929

4030
signingConfigs {

0 commit comments

Comments
 (0)