File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,13 @@ BuildStrongswan:
180
180
- export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
181
181
- export PATH=$JAVA_HOME/bin:$PATH
182
182
183
+ # Install Gradle
184
+ - GRADLE_VERSION=8.5
185
+ - wget https://services.gradle.org/distributions/gradle-${GRADLE_VERSION}-bin.zip
186
+ - unzip gradle-${GRADLE_VERSION}-bin.zip -d /opt/gradle
187
+ - export PATH="/opt/gradle/gradle-${GRADLE_VERSION}/bin:$PATH"
188
+ - gradle --version
189
+
183
190
# Create Android SDK dir
184
191
- mkdir -p /opt/android-sdk/cmdline-tools
185
192
- cd /opt/android-sdk
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ cd "$APP_DIR"
51
51
sed -i ' /arguments ' \' ' -j' \' ' \+ Runtime\.runtime\.availableProcessors()/a\ arguments "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"' build.gradle
52
52
53
53
echo " ===> Building release APK..."
54
- ./../.gradlew assembleRelease
54
+ gradle assembleRelease
55
55
56
56
echo " ===> Copying output libs to: $STRONGSWAN_LIBS_DST "
57
57
mkdir -p " $STRONGSWAN_LIBS_DST "
You can’t perform that action at this time.
0 commit comments