Removing gradlew and related jars from source release. Refer:
@@ -58,6 +58,11 @@ task sourceRelease(type: Tar, dependsOn: prepare_release_config) {
exclude "gradle.properties"
exclude '**/build'
exclude '.gradle'
+ // excluding gradlew and related jar because of: https://issues.apache.org/jira/browse/LEGAL-288
+ exclude 'gradlew'
+ exclude 'gradlew.bat'
+ exclude 'gradle/wrapper/gradle-wrapper.jar'
+ exclude 'gradle/wrapper/gradle-wrapper.properties'
exclude '.github'
exclude 'maven-sonatype'
exclude 'travis'
