Error in build gradle Could not get unknown property 'post' for BuildType_Decorated

Hi, how can I fix this error? Could not get unknown property 'post' for BuildType_Decorated {name = release, debuggable = false, testCoverageEnabled = false, jniDebuggable = false, pseudoLocalesEnabled = false, renderscriptDebuggable = false, renderscriptOptimLevel = 3, minifyEnabled = false , zipAlignEnabled = true, signingConfig = null, embedMicroApp = true, mBuildConfigFields = {}, mResValues ​​= {}, mProguardFiles = [], mConsumerProguardFiles = [], mManifestPlaceholders = {}} of type com.android.build.gradle.internal. dsl.BuildType.