A Abhishek
10/16/2024, 6:35 AMfile release.gradle
def devBranch = 'qa'
task codeFreeze() {
group 'Release'
description 'Fork release branch of dev branch and bump the version of current dev branch'
doLast {
assertCurrentBranchIs(devBranch)
...
}
}
private assertCurrentBranchIs(String branchName) {
...
}
This used to work just fine but now it gives error
Could not find method assertCurrentBranchIs() for arguments [qa] on task ':codeFreeze' of type org.gradle.api.DefaultTask
I deleted my ~/.gradle directory and synced again but still same issue. I am on gradle version 8.5A Abhishek
10/16/2024, 6:56 AMVampire
10/16/2024, 1:28 PMA Abhishek
10/16/2024, 1:39 PMVampire
10/16/2024, 1:42 PMnull or methods not being found as the actual error was degraded to a warning, but of course still causes a failure then at runtime.A Abhishek
10/16/2024, 2:18 PMVampire
10/16/2024, 5:04 PMVampire
10/16/2024, 5:06 PM