Skip to content

Bump com.android.tools.build:gradle to v8.7.0 #636

Bump com.android.tools.build:gradle to v8.7.0

Bump com.android.tools.build:gradle to v8.7.0 #636

Workflow file for this run

name: Test pull request
on:
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
jobs:
build:
strategy:
matrix:
os: [ macos-13, ubuntu-latest ]
runs-on: ${{matrix.os}}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Validate Gradle wrapper
uses: gradle/actions/wrapper-validation@v4
- name: Enable KVM group permissions
if: matrix.os == 'ubuntu-latest'
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Configure Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Configure Gradle
uses: gradle/actions/setup-gradle@v4
- name: Cache Konan
uses: actions/cache@v4
with:
path: ~/.konan
key: ${{ runner.os }}-konan-${{ hashFiles('**/libs.versions.toml') }}
restore-keys: |
${{ runner.os }}-konan-
- name: Build and test
if: matrix.os == 'macos-13'
run: ./gradlew build
- name: Run Android emulator tests
if: matrix.os == 'ubuntu-latest'
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 24
arch: x86_64
script: ./gradlew connectedCheck