diff --git a/android/sdl_android/build.gradle b/android/sdl_android/build.gradle index aeda52ab68..7419e64dd9 100644 --- a/android/sdl_android/build.gradle +++ b/android/sdl_android/build.gradle @@ -7,8 +7,9 @@ android { targetSdkVersion 29 versionCode 17 versionName new File(projectDir.path, ('/../../VERSION')).text.trim() - testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' + buildConfigField "String", "VERSION_NAME", '\"' + versionName + '\"' resValue "string", "SDL_LIB_VERSION", '\"' + versionName + '\"' + testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' } buildTypes { release {