diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index aaf166e93d..9ffd4b18c5 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -25,10 +25,10 @@ jobs: fetch-depth: 0 submodules: true - - name: Set up JDK 20 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '20' + java-version: '21' distribution: 'temurin' cache: gradle diff --git a/.github/workflows/android_pr.yml b/.github/workflows/android_pr.yml index b02a24a3f7..281dcdea0a 100644 --- a/.github/workflows/android_pr.yml +++ b/.github/workflows/android_pr.yml @@ -25,10 +25,10 @@ jobs: fetch-depth: 0 submodules: true - - name: Set up JDK 20 + - name: Set up JDK 21 uses: actions/setup-java@v4 with: - java-version: '20' + java-version: '21' distribution: 'temurin' cache: gradle diff --git a/app/build.gradle b/app/build.gradle index 088dbff715..34ce7784ba 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -141,12 +141,12 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_19 - targetCompatibility JavaVersion.VERSION_19 + sourceCompatibility JavaVersion.VERSION_21 + targetCompatibility JavaVersion.VERSION_21 } kotlinOptions { - jvmTarget = JavaVersion.VERSION_19.toString() + jvmTarget = JavaVersion.VERSION_21.toString() } }