Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cli-tool for android project #7202

Open
ichistmeinname opened this issue Nov 29, 2024 · 2 comments
Open

Use cli-tool for android project #7202

ichistmeinname opened this issue Nov 29, 2024 · 2 comments
Labels

Comments

@ichistmeinname
Copy link

Since we cannot increase our gradle version, I was trying to run the cli-tool instead. However, it didn't find any dependencies when scanning a gradle lock file and I could not figure out which directory to scan when building the project.
The example for Java mentions build/libs, but such a directory is not created for an/my Android project.

Is it just not possible with the cli and only possible using the dedicated plugin?

@jeremylong
Copy link
Owner

I'm confused - what is stopping you from using the gradle plugin?

@ichistmeinname
Copy link
Author

ichistmeinname commented Nov 30, 2024

With our gradle version (8.0.1), we get an error regarding jackson-core.

java.util.concurrent.ExecutionException: org.gradle.api.GradleException: Failed to create Jar file /root/.gradle/caches/jars-9/1550be8224c951358979eafa0ab52922/jackson-core-2.17.1.jar

Searching through closed issues, I concluded that an update is gradle is the only/best option here (suggested by you on similar errors). However, we currently cannot update the gradle version due to other constraints in the project (a react-native update would be necessary, which was not planned -- nor budgeted -- in the current release cycle).

Hence, my idea was to use the cli-tool like we do for our npm and sbt code bases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants