Skip to content

Commit

Permalink
Build for Android 15
Browse files Browse the repository at this point in the history
  • Loading branch information
JingMatrix committed Jul 24, 2024
1 parent 4717b41 commit abd7ae6
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ jobs:
fi
- name: Checkout libxposed/api
uses: actions/checkout@v4
uses: actions/checkout@main
with:
repository: libxposed/api
path: libxposed/api
ref: 54582730315ba4a3d7cfaf9baf9d23c419e07006

- name: Checkout libxposed/service
uses: actions/checkout@v4
uses: actions/checkout@main
with:
repository: libxposed/service
path: libxposed/service
Expand All @@ -65,6 +66,18 @@ jobs:
restore-keys: lsp
save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}

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

- name: Setup ninja
uses: seanmiddleditch/gha-setup-ninja@master
with:
version: 1.12.0

- name: Remove Android's cmake
shell: bash
run: rm -rf $ANDROID_HOME/cmake

- name: Build dependencies with Gradle
working-directory: libxposed
run: |
Expand Down
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ val verName by extra("0.6")
val coreVerCode by extra(coreCommitCount)
val coreVerName by extra(coreLatestTag)
val androidMinSdkVersion by extra(28)
val androidTargetSdkVersion by extra(34)
val androidCompileSdkVersion by extra(34)
val androidCompileNdkVersion by extra("25.2.9519653")
val androidBuildToolsVersion by extra("34.0.0")
val androidTargetSdkVersion by extra(35)
val androidCompileSdkVersion by extra(35)
val androidCompileNdkVersion by extra("27.0.12077973")
val androidBuildToolsVersion by extra("35.0.0")
val androidSourceCompatibility by extra(JavaVersion.VERSION_21)
val androidTargetCompatibility by extra(JavaVersion.VERSION_21)

Expand Down

0 comments on commit abd7ae6

Please sign in to comment.