Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

Commit

Permalink
fix ndk issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneschepke committed Feb 23, 2024
1 parent cc25bb7 commit f0c28de
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 13 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,11 @@ jobs:
armv7-linux-androideabi \
x86_64-linux-android \
i686-linux-android
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Add cargo-ndk
run: |
cargo install cargo-ndk
- name: Setup Android NDK
uses: nttld/setup-ndk@v1
with:
ndk-version: r23c
# Here we need to decode keystore.jks from base64 string and place it
# in the folder specified in the release signing configuration
- name: Decode Keystore
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,11 @@ jobs:
armv7-linux-androideabi \
x86_64-linux-android \
i686-linux-android
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Add cargo-ndk
run: |
cargo install cargo-ndk
- name: Setup Android NDK
uses: nttld/setup-ndk@v1
with:
ndk-version: r23c
# Here we need to decode keystore.jks from base64 string and place it
# in the folder specified in the release signing configuration
- name: Decode Keystore
Expand Down
1 change: 0 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ plugins {
android {
namespace = "${Constants.NAMESPACE}.${Constants.APP_NAME}"
compileSdk = Constants.COMPILE_SDK
ndkVersion = Constants.NDK_VERSION

defaultConfig {
applicationId = "${Constants.NAMESPACE}.${Constants.APP_NAME}"
Expand Down
1 change: 0 additions & 1 deletion buildSrc/src/main/kotlin/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ object Constants {
const val TARGET_SDK = 34
const val COMPILE_SDK = 34
const val MIN_SDK = 24
const val NDK_VERSION = "26.1.10909125"

const val JVM_TARGET = "17"
val JAVA_VERSION = JavaVersion.VERSION_17
Expand Down
3 changes: 0 additions & 3 deletions vpn-client/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ android {

project.tasks.preBuild.dependsOn(Constants.BUILD_LIB_TASK)

//TODO maybe we don't need this specific version but it is working
ndkVersion = "23.0.7599858"

namespace = "${Constants.NAMESPACE}.${Constants.VPN_LIB_NAME}"
compileSdk = 34

Expand Down

0 comments on commit f0c28de

Please sign in to comment.