When building using mix, rebar version is not defined, causing an error with the script:
Error evaluating Rebar config script ./rebar.config.script:9: evaluation failed with reason error:{badmatch,undefined} and stacktrace [{erl_eval,expr,3,[]}]
Any dependencies defined in the script won't be available unless you add them to your Mix project
When building using mix, rebar version is not defined, causing an error with the script:
This change defaults to Rebar 3 in that case.