Add Gradle Wrapper to exclude from extension build

Gradle Wrapper:
https://docs.gradle.org/current/userguide/gradle_wrapper.html

Is "recommended way to execute any Gradle build" so more and more
extensions have the wrapper files in the repository.  They serve no
purpose once built, so ignore it from the zip.
This commit is contained in:
Elliott Childre 2020-04-13 13:51:06 -04:00 committed by R. Elliott Childre
parent 777bcbef17
commit 68f532627c

View File

@ -92,6 +92,10 @@ task buildExtension (type: Zip) {
exclude '.settings/**'
exclude 'developer_scripts'
exclude '.antProperties.xml'
exclude 'gradlew'
exclude 'gradlew.bat'
exclude 'gradle/wrapper/gradle-wrapper.jar'
exclude 'gradle/wrapper/gradle-wrapper.properties'
into pathInZip
}