diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 2f633b6..2afba2a 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -13,14 +13,16 @@ jobs: steps: - uses: actions/checkout@v4 - - name: set up JDK 11 + + - name: set up JDK 17 # Update to JDK 17 uses: actions/setup-java@v4 with: - java-version: '11' - distribution: 'temurin' + java-version: '17' # Switch to Java 17 + distribution: 'temurin' # Use the Temurin distribution cache: gradle - name: Grant execute permission for gradlew run: chmod +x gradlew + - name: Build with Gradle run: ./gradlew build