]> source.dussan.org Git - poi.git/commit
Change Gradle to use java-library plugin
authorMarius Volkhart <mariusvolkhart@apache.org>
Sun, 14 Mar 2021 20:43:43 +0000 (20:43 +0000)
committerMarius Volkhart <mariusvolkhart@apache.org>
Sun, 14 Mar 2021 20:43:43 +0000 (20:43 +0000)
commit120566991b1dbd19726473cbd68516eb818eb753
tree06a64d0f800a1d4d6e0e3c43ac1276593a75234b
parentaaf0e2f7f93fa00255d50049b79035cfa36c510a
Change Gradle to use java-library plugin

This plugin is specifically built for libraries. The major difference to the regular java plugin is that is allows defining dependencies as part of the api or implementation. Both are used by the project at compile/runtime, but only api dependencies are made available to dependent projects.

In our current setup, this doesn't matter much. We deploy to maven central using pre-built POMs. It's more of a future-proofing, and it makes it a little bit clearer which gradle projects actually require which dependencies.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1887650 13f79535-47bb-0310-9956-ffa450edef68
build.gradle