Skip to content

Commit

Permalink
Fix wrong changes during release.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Jan 30, 2023
1 parent 87e599b commit 89e0d7e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion matrix-sdk-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
apply plugin: 'realm-android'
apply plugin: "org.jetbrains.dokka"
// WARNING: always restore this line after importing code from Element Android (1/2)
apply plugin: "com.vanniktech.maven.publish"

if (project.hasProperty("coverage")) {
apply plugin: 'jacoco'
Expand Down Expand Up @@ -62,7 +64,8 @@ android {
// that the app's state is completely cleared between tests.
testInstrumentationRunnerArguments clearPackageData: 'true'

buildConfigField "String", "SDK_VERSION", "\"1.5.22\""
// WARNING: always restore this line after importing code from Element Android (2/2)
buildConfigField "String", "SDK_VERSION", "\"${project.getProperties().getOrDefault("VERSION_NAME", "0.0.0")}\""

buildConfigField "String", "GIT_SDK_REVISION", "\"${gitRevision()}\""
buildConfigField "String", "GIT_SDK_REVISION_UNIX_DATE", "\"${gitRevisionUnixDate()}\""
Expand Down

0 comments on commit 89e0d7e

Please sign in to comment.