Skip to content

Commit 0dab38e

Browse files
authored
Suppress dirty identifier (#60)
Suppress dirty identifier in versionName due to submodules getting dirty during build process
1 parent e1b1027 commit 0dab38e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

backtrace-library/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ plugins {
33
}
44
apply plugin: 'com.android.library'
55

6+
androidGitVersion {
7+
// this is responsible for
8+
// default is %tag%%-count%%-commit%%-branch%%-dirty% - removed %-dirty% because submodules tend to get dirty
9+
format '%tag%%-count%%-commit%%-branch%'
10+
}
11+
612
android {
713

814
compileSdkVersion 30

0 commit comments

Comments
 (0)