I updated gradle to 4.0.0
classpath 'com.android.tools.build:gradle:4.0.0'
and the distributionUrl to:
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
after sync the prject I got:
Unable to find method 'org.gradle.api.tasks.TaskInputs.property(Ljava/lang/String;Ljava/lang/Object;)Lorg/gradle/api/tasks/TaskInputs;'.
I know, if I downgrade the version the project will sync properly. but is there some incompatibility somewhere ? if it's true why there is some updates ?