O'Reilly logo

Gradle Dependency Management by Hubert Klein Ikkink

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying publications to Bintray

Before we can run the bintrayUpload task, we must add some configuration to our Gradle build file. The Bintray plugin can be configured with the bintray configuration block. Inside this configuration block, we see all the properties needed to deploy our project's publications to Bintray.

First, we need to set the username and the API key for the Bintray account we are using to deploy with. To get the API key, we must first log in to Bintray in our web browser. From our account page, we click on the Edit button. Next, we will select the API menu option to get to our API key. The key can then be copied to the clipboard so that we can use it in our build script. The user and key properties from the bintray configuration ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required