From 1e40156268b88c0af7a3c768d166438bf053ed5a Mon Sep 17 00:00:00 2001 From: LoveSy Date: Mon, 20 Jan 2025 20:41:52 +0800 Subject: [PATCH] Add SDK 35 unit test --- .github/workflows/android.yml | 7 +++++-- gradle/libs.versions.toml | 2 +- library/build.gradle.kts | 6 +++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 67a428b..8821872 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -14,11 +14,11 @@ jobs: steps: - name: Check out uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: '17' + java-version: '21' cache: 'gradle' - name: Build with Gradle run: | @@ -85,6 +85,9 @@ jobs: - api-level: 34 target: android-tv arch: x86 + - api-level: 35 + target: aosp_atd + arch: x86_64 steps: - name: checkout uses: actions/checkout@v3 diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 98a789d..63ecadc 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -5,7 +5,7 @@ test-ext-junit = { module = "androidx.test.ext:junit", version = "1.2.1" } test-rules = { module = "androidx.test:rules", version = "1.6.1" } [plugins] -agp-lib = { id = "com.android.library", version = "8.2.0" } +agp-lib = { id = "com.android.library", version = "8.2.2" } lsplugin-jgit = { id = "org.lsposed.lsplugin.jgit", version = "1.1" } lsplugin-publish = { id = "org.lsposed.lsplugin.publish", version = "1.1" } diff --git a/library/build.gradle.kts b/library/build.gradle.kts index 6f051f6..2988ed5 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -9,8 +9,8 @@ plugins { } android { - compileSdk = 34 - buildToolsVersion = "34.0.0" + compileSdk = 35 + buildToolsVersion = "35.0.1" namespace = "org.lsposed.hiddenapibypass.library" buildFeatures { @@ -22,7 +22,7 @@ android { testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } testOptions { - targetSdk = 34 + targetSdk = 35 } buildTypes { release {