jsc-android
Advanced tools
Comparing version 224109.0.0 to 224109.1.0
{ | ||
"name": "jsc-android", | ||
"version": "224109.0.0", | ||
"version": "224109.1.0", | ||
"description": "Pre-build version of JavaScriptCore to be used by React Native apps", | ||
@@ -23,2 +23,3 @@ "repository": { | ||
"scripts": { | ||
"clean": "rm -rf dist; rm -rf build", | ||
"info": "./scripts/info.sh", | ||
@@ -31,5 +32,5 @@ "download": "./scripts/download.sh", | ||
"webkitGTK": "2.18.2", | ||
"androidICU": "8.0.0_r34", | ||
"i18n": true | ||
"chromiumICUCommit": "b34251f8b762f8e2112a89c587855ca4297fed96", | ||
"i18n": false | ||
} | ||
} |
@@ -0,1 +1,4 @@ | ||
[![npm version](https://badge.fury.io/js/jsc-android.svg)](https://badge.fury.io/js/jsc-android) | ||
[![Build Status](https://jenkins-oss.wixpress.com/job/jsc-android-master/badge/icon)](https://jenkins-oss.wixpress.com/job/jsc-android-master/) | ||
# JSC build scripts for Android | ||
@@ -12,3 +15,2 @@ | ||
* Node `brew install node` | ||
* Gradle: `brew install gradle` | ||
* Java 8: `brew tap caskroom/versions && brew cask install java8` | ||
@@ -84,4 +86,32 @@ * Android SDK: `brew cask install android-sdk` | ||
4. You're done, rebuild your app and enjoy updated version of JSC on android! | ||
4. Make sure your app's `build.gradle` uses a minimum sdk version of 21 | ||
```diff | ||
defaultConfig { | ||
applicationId "com.myApp" | ||
- minSdkVersion 16 | ||
+ minSdkVersion 21 | ||
targetSdkVersion 22 | ||
versionCode 1 | ||
``` | ||
5. You're done, rebuild your app and enjoy updated version of JSC on android! | ||
### International variant | ||
International variant includes ICU i18n library and necessary data allowing to use e.g. Date.toLocaleString and String.localeCompare that give correct results when using with locales other than en-US. Note that this variant is about 6MiB larger per architecture than default. | ||
To use this variant instead replace the third installation step with: | ||
```diff | ||
+configurations.all { | ||
+ resolutionStrategy { | ||
+ eachDependency { DependencyResolveDetails details -> | ||
+ if (details.requested.name == 'android-jsc') { | ||
+ details.useTarget group: details.requested.group, name: 'android-jsc-intl', version: 'r224109' | ||
+ } | ||
+ } | ||
+ } | ||
+} | ||
``` | ||
## Testing | ||
@@ -88,0 +118,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
140
1
33038586