anchor.diff:      # one hash for 'deps'. Deps can be garbage collected after the build,
       # so this is not really an issue.
       buildPhase = ''
  -      export GRADLE_USER_HOME=$(mktemp -d)
  +      ${preBuild}
         gradle --no-daemon desktop:dist -Pbuildversion=${buildVersion}
         gradle --no-daemon server:dist -Pbuildversion=${buildVersion}
       '';
  
positive.code:     sed -i 's/com.github.anuken:packr:-SNAPSHOT/com.github.anuken:packr:034efe51781d2d8faa90370492133241bfb0283c/' build.gradle
    '';
  
    # The default one still uses jdk8 (#89731)
    gradle_6 = (gradleGen.override (old: { java = jdk14; })).gradle_6_7;
  
  
negative.code:   # Note: when raising the version, ensure that all SNAPSHOT versions in
    # build.gradle are replaced by a fixed version
    # (the current one at the time of release) (see postPatch).
    version = "122";
    buildVersion = makeBuildVersion version;
  
    src = fetchFromGitHub {
      owner = "Anuken";
      repo = "Mindustry";
      rev = "v${version}";
      sha256 = "19dxqscnny0c5w3pyg88hflrkhsqgd7zx19240kh4h69y3wwaz0m";
    };
  
    desktopItem = makeDesktopItem {
  