Skip to content

Commit

Permalink
update version set
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzue committed May 4, 2022
1 parent 3e347d4 commit 745e68b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "com.kongzue.messagebusdemo"
minSdk 21
targetSdk 31
versionCode 1
versionName "1.0"
versionCode BUILD_VERSION_INT as int
versionName BUILD_VERSION

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
6 changes: 5 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ android.useAndroidX=true
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.nonTransitiveRClass=true


BUILD_VERSION=0.0.1
BUILD_VERSION_INT=1
2 changes: 2 additions & 0 deletions runner/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ android {
defaultConfig {
minSdk 21
targetSdk 31
versionCode BUILD_VERSION_INT as int
versionName BUILD_VERSION

consumerProguardFiles "consumer-rules.pro"
}
Expand Down

0 comments on commit 745e68b

Please sign in to comment.