anchor.diff:      nativeVersion = "0.22-milestone-20";
       sha256 = "13qyk3f6namw27ynh6nxljxpk9r3l12vxl3f0qpglprdf3c6ydcb";
       defaultJava = jdk11;
  +    # Gradle 6 ships some binaries that are only available for some platforms
  +    # See https://github.com/gradle/native-platform#supported-platforms
  +    supportedPlatforms =  [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" "x86_64-cygwin" "x86_64-windows" "i686-windows"  ];
     };
   
     # NOTE: No GitHub Release for the following versions. `update.sh` will not work.
  
positive.code:     nativeVersion = "0.22-milestone-21";
      sha256 = "00h3z0vxc4hv31sc71gb88r8yabyqgz304wpr0bxhbx2d14f11mm";
      defaultJava = jdk17;
    };
  
    gradle_6 = gen {
  
negative.code: rec {
    gen =
  
      { version, nativeVersion, sha256, defaultJava ? jdk8, supportedPlatforms ? null }:
  
      { lib, stdenv, fetchurl, makeWrapper, unzip, java ? defaultJava
      , javaToolchains ? [ ], ncurses5, ncurses6 }:
  