forked from wso2/apk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-apk.sh
executable file
·29 lines (29 loc) · 1.01 KB
/
build-apk.sh
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
set -e
#This is a sample script to build APK. When you build project please run this script in project root level.
#All relative paths etc designed from root directory. Users can customize this as per demand. Ex: If you wish to
#build and run runtime domain service then can build it alone and do deployment.
current_dir=$PWD;
cd $current_dir;
cd common-bal-libs/apk-common-lib;./gradlew build;
cd $current_dir;
cd backoffice/backoffice-domain-service;./gradlew build;
cd $current_dir;
cd runtime/runtime-domain-service;./gradlew build;
cd $current_dir;
cd admin/admin-domain-service;./gradlew build;
cd $current_dir;
cd devportal/devportal-domain-service;./gradlew build;
cd $current_dir;
cd adapter;./gradlew build;
cd $current_dir;
cd management-server;./gradlew build;
cd $current_dir;
cd gateway/router;./gradlew build;
cd $current_dir;
cd gateway/enforcer;./gradlew build;
cd $current_dir;
cd idp/idp-domain-service;./gradlew build;
cd $current_dir;
cd idp/idp-ui;./gradlew build;
cd $current_dir;
cd ratelimiter;./gradlew build;