Patch in a placeholder to "download" the gradle distfile from the place where MacPorts has already downloaded it. --- gradle/wrapper/gradle-wrapper.properties.orig 2022-05-23 14:21:51.000000000 -0500 +++ gradle/wrapper/gradle-wrapper.properties 2023-10-19 02:21:44.000000000 -0500 @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip +distributionUrl=file\://@DISTPATH@/gradle-7.3.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists