Skip to content

CI: replace Ant build step with Gradle assemble for Android project - #3

Merged
sh13y merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-build
Jun 8, 2026
Merged

CI: replace Ant build step with Gradle assemble for Android project#3
sh13y merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-build

Conversation

Copilot AI commented Jun 8, 2026

Copy link
Copy Markdown

The build Actions job failed because the workflow invoked Ant (build.xml), but this repository is a Gradle-based Android app. This update aligns the workflow with the actual build system so the CI build job executes the project’s real build path.

  • Workflow alignment

    • Replaced the Ant invocation with Gradle wrapper execution in .github/workflows/ant.yml.
    • Updated the build step to run assembleDebug, matching the project’s Android artifact build path.
  • Java runtime compatibility

    • Updated workflow JDK setup from 11 to 17 to match current Android Gradle plugin/toolchain requirements.
  • Resulting CI command path

    - name: Set up JDK 17
      uses: actions/setup-java@v4
      with:
        java-version: '17'
        distribution: 'temurin'
    
    - name: Build with Gradle
      run: |
        chmod +x ./gradlew
        ./gradlew --no-daemon assembleDebug

Copilot AI changed the title [WIP] Fix failing GitHub Actions job "build" CI: replace Ant build step with Gradle assemble for Android project Jun 8, 2026
Copilot finished work on behalf of sh13y June 8, 2026 10:08
Copilot AI requested a review from sh13y June 8, 2026 10:08
@sh13y
sh13y marked this pull request as ready for review June 8, 2026 10:11
@sh13y
sh13y merged commit 1a9ae0a into main Jun 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants