Skip to content

Commit 42ad4b8

Browse files
committed
use explicit jsc version to test
1 parent 52584ec commit 42ad4b8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/android/app/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ def enableProguardInReleaseBuilds = false
7676
* give correct results when using with locales other than en-US. Note that
7777
* this variant is about 6MiB larger per architecture than default.
7878
*/
79-
def jscFlavor = 'org.webkit:android-jsc:+'
79+
// def jscFlavor = 'org.webkit:android-jsc:+'
80+
def jscVersion = ["node", "-e", "console.log(require('${rootDir}/../../package.json').version.split('.')[0]);"].execute([], projectDir).text.trim()
81+
def jscFlavor = "org.webkit:android-jsc:r${jscVersion}"
8082

8183
/**
8284
* Private function to get the list of Native Architectures you want to build.

0 commit comments

Comments
 (0)