Skip to content

Build(deps): Bump com.android.tools.build:gradle from 8.5.0 to 8.7.2 #2066

Build(deps): Bump com.android.tools.build:gradle from 8.5.0 to 8.7.2

Build(deps): Bump com.android.tools.build:gradle from 8.5.0 to 8.7.2 #2066

Workflow file for this run

name: Android CI
on: [push, pull_request]
jobs:
validation:
name: Validate Gradle Wrapper
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v4
lint:
name: Run Lint Checks
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: 17
- name: Lint
run: bash ./gradlew lint
test:
name: Run Unit Tests
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: 17
- name: Unit tests
run: bash ./gradlew test --stacktrace
apk:
name: Generate APK
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/[email protected]
with:
distribution: 'temurin'
java-version: 17
- name: Build debug APK
run: bash ./gradlew assembleDev --stacktrace
- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: app-dev-debug
path: News-Android-App/build/outputs/apk/dev/debug/News-Android-App-dev-debug.apk