Android studio 3.0 update build problem

After updating my Android studio to version 3, and unfortunately in buildind i had this error :

Error:FAILURE: Build failed with an exception.

  • What went wrong:
    Task ‘prepareReleaseUnitTestDependencies’ not found in project ‘:app’.

  • Try:
    Run gradle 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

BUILD FAILED in 1s

Can you tell me your suggestions/solutions please, thanks in advance