Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
lightning-bits
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitsoko services
lightning-bits
Commits
84d93999
Commit
84d93999
authored
Aug 27, 2019
by
Tankred Hase
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch build.gradle files to use libv8.so instead of libjsc.so
parent
4981cf97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
build.gradle
mobile/android/app/build.gradle
+6
-0
build.gradle
mobile/android/build.gradle
+6
-2
No files found.
mobile/android/app/build.gradle
View file @
84d93999
...
...
@@ -137,6 +137,10 @@ android {
sourceCompatibility
JavaVersion
.
VERSION_1_8
targetCompatibility
JavaVersion
.
VERSION_1_8
}
packagingOptions
{
// Make sure libjsc.so does not packed in APK
exclude
"**/libjsc.so"
}
}
dependencies
{
...
...
@@ -150,6 +154,8 @@ dependencies {
implementation
fileTree
(
dir:
"libs"
,
include:
[
"*.jar"
])
implementation
"com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation
"com.facebook.react:react-native:+"
// From node_modules
// Add v8-android - prebuilt libv8.so into APK
implementation
'org.chromium:v8-android:+'
addUnimodulesDependencies
()
implementation
project
(
":Lndmobile"
)
...
...
mobile/android/build.gradle
View file @
84d93999
...
...
@@ -26,8 +26,12 @@ allprojects {
google
()
jcenter
()
maven
{
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url
"$rootDir/../node_modules/react-native/android"
// Replace AAR from original RN with AAR from react-native-v8
url
(
"$rootDir/../node_modules/react-native-v8/dist"
)
}
maven
{
// prebuilt libv8.so
url
(
"$rootDir/../node_modules/v8-android/dist"
)
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment