Skip to content

Conversation

@cartland
Copy link
Contributor

@cartland cartland commented May 8, 2025

This commit adds a new GitHub Actions workflow to build the
CarGearViewerKotlin automotive app.

The workflow is triggered on:

  • workflow_dispatch events
  • pushes to the main branch
  • pull requests targeting the main branch

The workflow performs the following steps:

  • Checks out the code
  • Sets up JDK 11 using Zulu distribution
  • Sets up Gradle
  • Sets up the Android SDK
  • Builds the CarGearViewerKotlin automotive app using Gradle

cartland added 2 commits May 7, 2025 23:10
This commit adds a new GitHub Actions workflow to build the
CarGearViewerKotlin automotive app.

The workflow is triggered on:
- `workflow_dispatch` events
- pushes to the `main` branch
- pull requests targeting the `main` branch

The workflow performs the following steps:
- Checks out the code
- Sets up JDK 17 using Zulu distribution
- Sets up Gradle
- Sets up the Android SDK
- Builds the CarGearViewerKotlin automotive app using Gradle
This commit updates the Java version used in the
`build-car-gear-viewer-kotlin.yml` workflow from 17 to 11.
This change is necessary to ensure compatibility with
the project's current dependencies and build environment.
@gemini-code-assist
Copy link

Note

The files in this pull request are not supported by Gemini Code Assist.

cartland added 2 commits May 7, 2025 23:34
This commit improves the Gradle setup and execution within the
`build-car-gear-viewer-kotlin.yml` workflow by:

- Making the Gradle wrapper executable using `chmod +x ./gradlew`.
- Explicitly setting the working directory for Gradle execution.
@pflammertsma
Copy link
Member

Do we need a workflow for the projects under car_app_library as well?

@cartland
Copy link
Contributor Author

cartland commented Jun 9, 2025

@pflammertsma adding workflows for the other projects is a good idea. The project you mentioned are missing the gradlew, graldew.bat, and gradle/wrapper files, so I didn't include it in this batch update across the Android repositories. We could potentially merge this change now and add the other build files later. Let me know if you want to try and add these files, otherwise I might spend some time seeing if I can set it up myself.

@pflammertsma pflammertsma merged commit a1dc237 into android:main Jun 20, 2025
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