INNER CODE UNIT · Java
check_gradle_version
WeBankBlockchain/WeIdentity · check-info.sh:59
function check_gradle_version() {
echo "----------------------------"
echo "3. Gradle Version"
echo "----------------------------"
checkCommand gradle
if [ $? == 1 ] ; then
gradle -version
else
echo "WARN: GRADLE_HOME is not set and no 'gradle' command could be found in your PATH.
Please set the GRADLE_HOME variable in your environment to match the
location of your Gradle installation."
fi
}
# check the fisco-solc version
function check_fisco_solc_version() {
echo "----------------------------"
echo "4. FISCO-SOLC Version"