That’s because you don’t have any publications. The artifactory-publish plugin works with maven-publish plugin and uploads publications.
If you prefer working with the old maven plugin, you need artifactory plugin, not artifactory-publish.
Take a look at the Overview part in “Working with Gradle” page of the official docs.