[CLI] Feature request: Don't download Java when running the NPM artifact
ZacSweers opened this issue · 6 comments
Even if I run with JAVA_HOME
pointed at a java 11 installation, it still tries to download one on the fly.
$ composeReport2Html -app STAR -overallStatsReport samples/star/build/compose_metrics/star_release-module.json -detailedStatsMetrics samples/star/build/compose_metrics/star_release-composables.csv -composableMetrics samples/star/build/compose_metrics/star_release-composables.txt -classMetrics samples/star/build/compose_metrics/star_release-classes.txt -o tmp
Downloading java runtime environment for version 11
@ZacSweers I'm not sure but I guess this issue is related to jdeploy
. I'm also looking if how can we remove dependency on jdeploy and publish CLI independent of it.
Yeah it's due to jdeploy
Need help here regarding publishing this CLI without jdeploy!
any update?
For CLI, I'm still struggling to find alternatives to jdeploy. But the good news is I'm working on the gradle plugin, so that we don't need to use CLI
@ZacSweers I'm not sure but I guess this issue is related to
jdeploy
. I'm also looking if how can we remove dependency on jdeploy and publish CLI independent of it.
@ZacSweers exact issue isn't solved yet. But we have published a gradle plugin which does the report generation work automatically. This can help you to be independent from jdeploy.
Gradle plugin usage: https://patilshreyas.github.io/compose-report-to-html/use/using-gradle-plugin/