diff --git a/gradle/mozconfig.gradle b/gradle/mozconfig.gradle index 829fbe78e8b4..f89a5b878d33 100644 --- a/gradle/mozconfig.gradle +++ b/gradle/mozconfig.gradle @@ -7,7 +7,7 @@ def projectRootDir = System.getProperty("user.dir") def json = slurper.parse(new File("${projectRootDir}/mozconfig.json")) gradle.ext.mozconfig = json -gradle.ext.mozconfig.substs.MOZ_APP_VERSION = file("${projectRootDir}/version.txt").getText('utf-8') +gradle.ext.mozconfig.substs.MOZ_APP_VERSION = file("${projectRootDir}/version.txt").getText('utf-8').replaceAll("\n", "") gradle.ext.mozconfig.substs.MOZ_ANDROID_FAT_AAR_ARCHITECTURES = true gradle.ext.mozconfig.substs.MOZ_UPDATE_CHANNEL = 'release' gradle.ext.mozconfig.substs.ALLOW_INSECURE_GRADLE_REPOSITORIES = true