We need to specify jobSpecOverrides in transforms-python/build.gradle in order to specify spark module of previous version to use:
jobSpecOverrides {
minimumModuleVersionOverride {
version = "1.579.0"
expiresAfter = "2022-12-30T08:00Z"
}
}
We always get an error like:
> Could not find method jobSpecOverrides() for arguments [build_7fuwjnfbdqnzske0gypcnsj4u$_run_closure1$_closure2$_closure4$_closure7@52c272c2] on object of type org.gradle.api.internal.artifacts.repositories.DefaultMavenArtifactRepository.
How can we avoid getting this error?
Your syntax looks mostly correct, you just need to be sure that the minimum module version is all the way at the bottom of the
build.gradlefile.Example: