Bintray
This plugin allows publishing to Bintray.
Quickstart
Make sure your module extends from BintrayPublishModule
:
import $ivy.`com.lihaoyi::mill-contrib-bintray:`
import mill.contrib.bintray.BintrayPublishModule
object mymodule extends BintrayPublishModule {
def bintrayOwner = "owner"
def bintrayRepo = "repo"
...
}
Then ensure you have created a package in the Bintray repository.
The default package used is the artifact ID (e.g. mymodule_2.12
). If you want to override
the package used, you can do that like this:
import $ivy.`com.lihaoyi::mill-contrib-bintray:`
import mill.contrib.bintray.BintrayPublishModule
object mymodule extends BintrayPublishModule {
def bintrayOwner = "owner"
def bintrayRepo = "repo"
def bintrayPackage = Task {...}
...
}
Then in your terminal:
$ mill mymodule.publishBintray --credentials $BINTRAY_USER:$BINTRAY_PASSWORD