public GradleDistribution getGradleDistribution() {
		if (gradleLocalChoiceButton.getSelection()) {
			return GradleDistribution.forLocalInstallation(new File(gradleLocalDirText.getText()));
		}
		else if (gradleVersion != null) {
			return GradleDistribution.forVersion(gradleVersion);
		}
		else {
			// This case should only happen if someone deleted the Gradle version from
			// application.properties.  In that case, we'll just try the standard wrapper and hope
			// for the best.
			return GradleDistribution.fromBuild();
		}
	}
Gets the Gradle distribution to use.

@return The gradle distribution to use.
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/wizards/pages/ConfigureGradleWizardPage.java