1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-11-23 10:01:11 +01:00

Fix F-Droid build

This commit is contained in:
世界 2021-05-27 07:42:42 +08:00
parent c20e334ab9
commit 47c813ba92
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
3 changed files with 14 additions and 1 deletions

View File

@ -6,3 +6,6 @@ source "bin/init/env.sh"
# Native dependencies
bin/init/libs/ffmpeg.sh
bin/init/libs/boringssl.sh
# Build v2ray-core
bin/libs/v2ray/build.sh

View File

@ -5,6 +5,16 @@ source "bin/init/env.sh"
echo "sdk.dir=$ANDROID_HOME" >>local.properties
echo "ndk.dir=$ANDROID_NDK_HOME" >>local.properties
# Install Golang
curl -o golang.tar.gz https://storage.googleapis.com/golang/go1.16.linux-amd64.tar.gz
mkdir "$HOME/.go"
tar -C "$HOME/.go" --strip-components=1 -xzf golang.tar.gz
rm golang.tar.gz
export PATH="$PATH:$HOME/.go/bin"
go version || exit 1
bin/libs/v2ray/init.sh
## Remove unused non-free dependencies
pushd TMessagesProj

View File

@ -15,7 +15,7 @@
RELEASE_KEY_PASSWORD=android
RELEASE_KEY_ALIAS=androidkey
RELEASE_STORE_PASSWORD=android
org.gradle.jvmargs=-XX:MaxPermSize=16384m
org.gradle.jvmargs=-XX:MaxPermSize=4096m
org.gradle.daemon=true
org.gradle.parallel=true
org.gradle.configureondemand=false