Skip to content

Commit 6e25b82

Browse files
committed
Add build and download guide in readme
1 parent 2a66708 commit 6e25b82

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

+29
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,35 @@
22

33
[QuickJS](https://bellard.org/quickjs/) Android wrapper.
44

5+
## Build
6+
7+
```
8+
git clone --recurse-submodules https://github.com/seven332/quickjs-android.git
9+
```
10+
11+
Open the folder `quickjs-android` in Android Studio.
12+
13+
## Download
14+
15+
1. Add the JitPack repository to your root build.gradle.
16+
17+
```gradle
18+
allprojects {
19+
repositories {
20+
...
21+
maven { url 'https://jitpack.io' }
22+
}
23+
}
24+
```
25+
26+
2. Add quickjs-android dependency to your application build.gradle.
27+
28+
```gradle
29+
dependencies {
30+
implementation "com.github.seven332:quickjs-android:0.1.0"
31+
}
32+
```
33+
534
## Usage
635

736
### Evaluate Javascript Scripts

0 commit comments

Comments
 (0)