From 370123fdb2295f3e66abe9a99abf9d84ab790c49 Mon Sep 17 00:00:00 2001 From: akliuxingyuan Date: Wed, 12 Jun 2024 13:01:26 +0800 Subject: [PATCH] remove newline --- gradle/mozconfig.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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