DroidsOnRoids / bitrise-step-sonarqube-scanner

Step for running SonarQube Scanner CLI
MIT License
6 stars 19 forks source link

Fix Java version check #21

Closed DayS closed 3 years ago

DayS commented 3 years ago

Update Java version check to work with both 1.8 and 11 formats. the Bitrise images only have Java 8 and 11, but user may have installed another specific version, so we have to be resilient about that.

This PR also resolves the minimum Java version required based on the Sonar Scanner CLI version used.

This PR should be applied before #20

koral-- commented 3 years ago

CI is hanging for some reason. I'll merge this for now and try fix CI workflow before the nearest release.