简体   繁体   中英

Unable to deploy to cloudhub mule4 application with Gradle

I am trying to build my mule application and deploy it to cloudhub with Gradle (The Gradle version I'm using is: Gradle 4.10.2). For this I have added the build.gradle file in my project as shown below: 在此处输入图像描述

When I give the Gradle build command it is successful as shown below: 在此处输入图像描述

But when I execute Gradle deploy ( gradle deploy --info ) command, it fails with following error: 在此处输入图像描述

Any help to resolve the above issue would be appreciated.

That Gradle has been abandoned for some years and seems to be trying to use a CloudHub REST API endpoint that is no longer valid. If you want to use Gradle you will need a newer Gradle plugin that uses the current CloudHub API. Note that MulesSoft only supports Maven.

You can try running with --stacktrace as the error message suggests to find out more details about the error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM