forked from Stremio/stremio-translations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jitpack.yml
19 lines (19 loc) · 927 Bytes
/
jitpack.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
env:
NODE_VERSION: "12.22.1"
NODE_SHA256: "d315c5dea4d96658164cdb257bd8dbb5e44bdd2a7c1d747841f06515f23a0042"
GRADLE_VERSION: "6.5"
GRADLE_SHA256: "23e7d37e9bb4f8dabb8a3ea7fdee9dd0428b9b1a71d298aefd65b11dccea220f"
before_install:
- wget -q https://nodejs.org/dist/v"$NODE_VERSION"/node-v"$NODE_VERSION"-linux-x64.tar.gz
- echo "$NODE_SHA256" node-v"$NODE_VERSION"-linux-x64.tar.gz | sha256sum -c
- tar -xf node-v"$NODE_VERSION"-linux-x64.tar.gz
- rm -f node-v"$NODE_VERSION"-linux-x64.tar.gz
- export PATH=$PATH:`pwd`/node-v"$NODE_VERSION"-linux-x64/bin
- wget -q https://services.gradle.org/distributions/gradle-"$GRADLE_VERSION"-bin.zip
- echo "$GRADLE_SHA256" gradle-"$GRADLE_VERSION"-bin.zip | sha256sum -c
- unzip -q gradle-"$GRADLE_VERSION"-bin.zip
- rm -f gradle-"$GRADLE_VERSION"-bin.zip
- ./gradle-6.5/bin/gradle --offline wrapper
- npm i
- npm run build:android
- cp -r ./android/* .