GradleProjectSettings () { GradleProjectSettings result = new GradleProjectSettings(); copyTo(result); result.myGradleJvm = myGradleJvm; result.myDistributionType = myDistributionType; result.myGradleHome = myGradleHome; result.disableWrapperSourceDistributionNotification = disableWrapperSourceDistributionNotification; result.resolveModulePerSourceSet = resolveModulePerSourceSet; result.resolveExternalAnnotations = resolveExternalAnnotations; result.myCompositeBuild = myCompositeBuild != null ? myCompositeBuild.copy() : null; result.delegatedBuild = delegatedBuild; result.testRunner = testRunner; return result; }