OpenSearch/gradle
Ryan Ernst 37795d259a
Remove guava from transitive compile classpath (#54309) (#54695)
Guava was removed from Elasticsearch many years ago, but remnants of it
remain due to transitive dependencies. When a dependency pulls guava
into the compile classpath, devs can inadvertently begin using methods
from guava without realizing it. This commit moves guava to a runtime
dependency in the modules that it is needed.

Note that one special case is the html sanitizer in watcher. The third
party dep uses guava in the PolicyFactory class signature. However, only
calling a method on the PolicyFactory actually causes the class to be
loaded, a reference alone does not trigger compilation to look at the
class implementation. There we utilize a MethodHandle for invoking the
relevant method at runtime, where guava will continue to exist.
2020-04-07 23:20:17 -07:00
..
wrapper Upgrade to Gradle 6.3 (#53499) 2020-03-25 15:07:08 -07:00
build-complete.gradle Upgrade to Gradle 6.0 (#49211) (#49994) 2019-12-09 11:34:35 -08:00
build-scan.gradle Use actual current commit id for build scan custom value (#52487) 2020-02-18 16:24:24 -08:00
bwc-test.gradle Consolidate duplication of BWC testing task setup in script plugin (#53079) 2020-03-03 14:43:02 -08:00
forbidden-dependencies.gradle Remove guava from transitive compile classpath (#54309) (#54695) 2020-04-07 23:20:17 -07:00
formatting.gradle Rename formatter config and switch to an opt-out list 2020-03-27 12:09:37 +00:00
ide.gradle Fix nasty errors when importing into IntelliJ 2020-03-23 21:32:37 -07:00
runtime-jdk-provision.gradle Introduce aarch64 packaging (#53914) (#53926) 2020-03-22 11:58:11 -04:00