fix: migrate Dokka Gradle plugin from V1 to V2 API #707
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: android-spotless | |
| on: | |
| push: | |
| branches: [ develop ] | |
| pull_request: | |
| branches: | |
| - '*' | |
| env: | |
| CI: "true" | |
| jobs: | |
| android-spotless: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-java@v5 | |
| with: | |
| java-version: 21 | |
| distribution: 'adopt' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v6 | |
| with: | |
| cache-read-only: ${{ github.ref != 'refs/heads/develop' }} | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Run spotless check | |
| run: ./gradlew spotlessCheck |