On Thu, 13 May 2021, PJ Fanning wrote:
The gradle-wrapper.jar was already part of our builds. It is in our POI 5.0.0 source distribution.

If we remove gradle wrapper dir from source distribution, we should remove the gradlew scripts too.

Hopefully Dave can pop along in a bit to help answer and clarify, he is our resident expert on this sort of thing!

Based on https://www.apache.org/legal/resolved.html and
https://www.apache.org/legal/release-policy.html I think the rules are:


Platform dependencies under incompatible licenses, eg GNU Build Tools / Windows SDK / Java JDK, must be downloaded and installed by users themselves

Suitably licensed dependencies and tools to help end users may be included in the binary releases

Small suitably licensed dependencies or tools to help new developers may be included in the version control, larger ones need to have helper scripts to guide users to install them or auto-fetch them. eg maven wrapper to get maven could be there, maven pom to get dependencies but not all the dependencies themselves etc.

The source release packages need to be pristine, containing only sources and instructions on manually installing any required build tools, they must not include any pre-built binaries.


Assuming I've got all that right, gradle wrapper in svn / git is fine, but needs to be excluded from source releases (which should instead tell you what version of gradle to manually fetch)

Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to