openwhisk-cli
openwhisk-cli copied to clipboard
can't run gradlew on ubuntu 16
I'm trying to update Vagrant process in openwhisk core repo and trying to build the CLI for all platforms
I git clone this repo and then try to run gradle commands I get the same error
vagrant@ubuntu-xenial:~/openwhisk-cli$ ./gradlew compile
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type CrossBuildFileHashCache using BuildSessionScopeServices.createCrossBuildFileHashCache().
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
vagrant@ubuntu-xenial:~/openwhisk-cli$
vagrant@ubuntu-xenial:~/openwhisk-cli$ ./gradlew --console=plain releaseBinaries
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type CrossBuildFileHashCache using BuildSessionScopeServices.createCrossBuildFileHashCache().
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 0s
In general, building the CLI should not require a clone of incubator-openwhisk. To run the CLI tests, that will require the incubator-openwhisk test framework.
Is this still an issue?