From 42ad4b80d63e9246be7b5ba50eae7d5a9a0eefd4 Mon Sep 17 00:00:00 2001 From: Kudo Chien Date: Sat, 4 Feb 2023 16:25:46 +0800 Subject: [PATCH] use explicit jsc version to test --- test/android/app/build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/android/app/build.gradle b/test/android/app/build.gradle index 69c8cee0..b1762d69 100644 --- a/test/android/app/build.gradle +++ b/test/android/app/build.gradle @@ -76,7 +76,9 @@ def enableProguardInReleaseBuilds = false * give correct results when using with locales other than en-US. Note that * this variant is about 6MiB larger per architecture than default. */ -def jscFlavor = 'org.webkit:android-jsc:+' +// def jscFlavor = 'org.webkit:android-jsc:+' +def jscVersion = ["node", "-e", "console.log(require('${rootDir}/../../package.json').version.split('.')[0]);"].execute([], projectDir).text.trim() +def jscFlavor = "org.webkit:android-jsc:r${jscVersion}" /** * Private function to get the list of Native Architectures you want to build.