diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff356b7..347ba54 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,14 +14,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 11 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 17 - - - name: Setup Android SDK - uses: android-actions/setup-android@v3 + java-version: 11 - uses: actions/cache@v4 with: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index df60ccd..2d2b7ca 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,11 +11,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 11 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 17 + java-version: 11 # Gradle 缓存配置 - name: Cache Gradle packages diff --git a/.github/workflows/saas_publish.yml b/.github/workflows/saas_publish.yml index f375912..eb79ec2 100644 --- a/.github/workflows/saas_publish.yml +++ b/.github/workflows/saas_publish.yml @@ -11,11 +11,11 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 + - name: Set up JDK 11 uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: 17 + java-version: 11 # Gradle 缓存配置 - name: Cache Gradle packages diff --git a/app/build.gradle b/app/build.gradle index ed66219..1c29683 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -28,7 +28,7 @@ android { targetCompatibility JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = '17' + jvmTarget = '11' } } diff --git a/inject-descriptor/build.gradle.kts b/inject-descriptor/build.gradle.kts index 626454c..b7d0dd8 100644 --- a/inject-descriptor/build.gradle.kts +++ b/inject-descriptor/build.gradle.kts @@ -25,7 +25,7 @@ android { targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { - jvmTarget = "17" + jvmTarget = "11" } }