Skip to content

Instantly share code, notes, and snippets.

@licaon-kter
Created August 9, 2023 07:18
Show Gist options
  • Save licaon-kter/c86fd8a8de5b5536b5fea968f4d2f15b to your computer and use it in GitHub Desktop.
Save licaon-kter/c86fd8a8de5b5536b5fea968f4d2f15b to your computer and use it in GitHub Desktop.
metadata/com.greenaddress.greenbits_android_wallet.yml
Categories:
- Money
License: GPL-3.0-only
SourceCode: https://github.com/blockstream/green_android
RepoType: git
Repo: https://github.com/blockstream/green_android
Builds:
- versionName: 4.0.11
versionCode: 22000411
commit: 27bdf31e92b3d07acb2c912e6bcc141147b6eccf
timeout: 25200
subdir: green
sudo:
- apt-get update
- apt-get install -y automake clang cmake jq libffi-dev libtool make pkg-config
swig virtualenv protobuf-compiler
- apt-get install -y openjdk-17-jdk-headless
- update-java-alternatives -a
gradle:
- production
srclibs:
- breez-sdk@0.1.4
- rustup@1.25.2
rm:
- bump_gdk.sh
prebuild:
- sed -i -e '/mvn.breez/d' ../build.gradle.kts
- sed -i -e '/signingConfigs {/,+8d' -e '/signingConfigs.getByName/,+3d' -e
'/versionNameSuffix/d' build.gradle.kts
- sed -i -e '/dependencies {/aimplementation(files(\"libs/breez-sdk.aar\"))'
build.gradle.kts
build:
- $$rustup$$/rustup-init.sh -y
- source $HOME/.cargo/env
- rustup install 1.68.0
- export ANDROID_NDK_HOME=$$NDK$$
- pushd $$breez-sdk$$
- sed -i -e '/apple/d' makefile
- make init
- make bindings-android
- popd
- mkdir -p libs
- cp $$breez-sdk$$/bindings-android/lib/build/outputs/aar/lib-release.aar libs/breez-sdk.aar
- JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::") PATH=$HOME/.local/bin:$PATH
../gdk/prepare_gdk_clang.sh arm64-v8a
ndk: r25c
AutoUpdateMode: None
UpdateCheckMode: Tags
CurrentVersion: 4.0.11
CurrentVersionCode: 22000411
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment