Task 'bintrayUpload' not found in root project after update Android studio to 3.0

before I update gradle and android studio I used to upload my library to bintray with these tasks:

first: gradlew install
second: gradlew bintrayUpload

But after updating android studio and gradle I change fist task to: gradlew installDebug
but gradle can not find taskbintrayUpload and I get this error:

* What went wrong:
Task 'bintrayUpload' not found in root project 'MyProject'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org