Skip to content

Bump com.android.tools.build:gradle from 8.6.1 to 8.7.2 (#103) #210

Bump com.android.tools.build:gradle from 8.6.1 to 8.7.2 (#103)

Bump com.android.tools.build:gradle from 8.6.1 to 8.7.2 (#103) #210

Workflow file for this run

name: Build & Test
on:
push:
branches:
- master
- develop
- 'release/**'
- 'hotfix/**'
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 17
- name: Gradle Cache
uses: actions/cache@v4
with:
path: |
~/.gradle/caches/modules-*
~/.gradle/caches/jars-*
~/.gradle/caches/build-cache-*
key: gradle-${{ hashFiles('**/build.gradle.kts', 'gradle/libs.versions.toml') }}
- name: Gradle Wrapper Cache
uses: actions/cache@v4
with:
path: gradle/wrapper
key: gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: Download dependencies
run: ./gradlew dependencies
- name: Build & Test Plugin
run: ./gradlew check koverHtmlReport koverXmlReport koverVerify
- name: Archive Test results
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: test-results
path: |
build/reports/*
build/test-results/*
- name: Upload Codecov
uses: codecov/codecov-action@v4
with:
files: ./build/reports/kover/report.xml
token: ${{ secrets.CODECOV_TOKEN }}
- name: Run Android Example
working-directory: example/android
run: ../../gradlew licenseDebugReport
- name: Check Groovy Example
working-directory: example/groovy
run: ../../gradlew licenseReport
- name: Check Kotlin Example
working-directory: example/kotlin
run: ../../gradlew licenseReport
- name: Check Multiplatform Example
working-directory: example/multiplatform
run: ../../gradlew licenseMultiplatformReport