Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ jobs:
distribution: 'temurin'
cache: gradle

- name: Setup Android SDK
uses: android-actions/setup-android@v3

- name: Install NDK
run: |
sdkmanager --install "ndk;27.0.12077973"
echo "ANDROID_NDK_HOME=$ANDROID_SDK_ROOT/ndk/27.0.12077973" >> $GITHUB_ENV

- name: rust deps
run: cargo install cargo-ndk@3.4.0 --locked
- name: rust targets
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins {
android {
namespace = "alt.nainapps.sharepaste"
compileSdk = 35
ndkVersion = "27.0.12077973"

defaultConfig {
applicationId = "alt.nainapps.sharepaste"
Expand Down Expand Up @@ -93,7 +94,6 @@ android {
dimension = "source"
}
}
ndkVersion = "25.1.8937393"
}

dependencies {
Expand Down
5 changes: 4 additions & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.nonTransitiveRClass=true

# Set NDK version explicitly to ensure proper symbol stripping
android.ndkVersion=27.0.12077973
1 change: 1 addition & 0 deletions android/rsnative/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ plugins {
android {
namespace 'alt.nainapps.sharepase.rsnative'
compileSdk 34
ndkVersion "27.0.12077973"

defaultConfig {
minSdk 26
Expand Down
Loading