To build your project and upload generated artifacts to Artifactory, run the following command:
gradle artifactoryPublish
For more information on building your projects with Gradle, see the Gradle Documentation.
Get Debug Information from Gradle
Run Gradle with the -d option to get useful and readable information if your build fails.