-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathjitpack.yml
29 lines (28 loc) · 1.05 KB
/
jitpack.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
jdk:
- openjdk14
env:
PACK: "aar"
CLASSFULL: "full"
CLASSDBG: "debug"
FOUT: "firestack.aar"
FOUTDBG: "firestack-debug.aar"
BOUT: "build/intra/tun2socks.aar"
BOUTDBG: "build/intra/tun2socks-debug.aar"
SOURCES: "build/intra/tun2socks-sources.jar"
before_install:
# - sdk install java 17.0.8-jbr
# - sdk use java 17.0.8-jbr
- yes | $ANDROID_HOME/tools/bin/sdkmanager "platforms;android-33"
- yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;33.0.0"
# ndk works, for now: github.com/jitpack/jitpack.io/issues/4638
# - yes | $ANDROID_HOME/tools/bin/sdkmanager --install "ndk;23.1.7779620"
- ./make-aar
install:
- ./mvn-install
# cmds: jitpack.io/docs/BUILDING/#custom-commands
# envs: jitpack.io/docs/BUILDING/#environment-variables
# bout: github.com/celzero/outline-go-tun2socks/blob/88be3c35/Makefile#L13
# tool: developer.android.com/studio/releases/build-tools
# sdkm: developer.android.com/studio/command-line/sdkmanager
# ndkm: developer.android.com/ndk/downloads
# inst: github.com/wordpress-mobile/AztecEditor-Android/blob/5d983f8/jitpack.yml