Support Gradle projects in lint-java
- Linguagem predominante
- Dockerfile
- Estrelas
- 0
- Forks
- 8
- Merge médio
- 6min
- PRs com merge (30d)
- 1
Descrição
### TL;DR
I tried configuring lint-java for https://github.com/googleads/data-manager-java, which uses Gradle, but it fails because there's no `pom.xml` file for a Gradle project:
```
Run abcxyz/actions/.github/actions/lint-java@main
Run graalvm/setup-graalvm@01ed653ac833fe80569f1ef9f25585ba2811baab
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/9534f092-6ac3-42dc-a25c-22dbd62c221e -f /home/runner/work/_temp/c40e806f-8c0a-4ccc-aed0-5ad50fc04549
Adding graalvm-community-jdk-21.0.2_linux-x64_bin 21.0.2 to tool-cache ...
Error: No file in /home/runner/work/data-manager-java/data-manager-java matched to [**/pom.xml], make sure you have checked out the target repository
```
### Detailed design
```markdown
```
### Alternatives considered
```markdown
I could modify my Gradle build to generate POMs, but that seems like an unnecessary burden to place on every project using the action.
```
### Additional information
_No response_
Guia de contribuição
Direção de pesquisa
Look at the lint-java action's code to see how it currently locates pom.xml files. Understand how Gradle projects are structured and identify the equivalent build files (e.g., build.gradle, settings.gradle). Modify the action to also search for Gradle build files and adapt the linting process to work with Gradle. Test the changes on a sample Gradle project to ensure it works correctly.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java
- Domínio
- ci-cd, tooling
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 50/100