OpenSearch/buildSrc
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
..
reaper Auto-format buildSrc (#51043) 2020-01-16 10:26:27 +00:00
src Remove guava from transitive compile classpath (#54309) (#54695) 2020-04-07 23:20:17 -07:00
.gitignore
build.gradle Improve checkstyle performance and readability (#54308) 2020-03-27 08:05:04 -07:00
formatterConfig.xml Tweak formatting config for exception lists (#54710) 2020-04-03 16:54:31 +01:00
settings.gradle Remove empty buildSrc subproject (#47415) 2019-10-01 16:34:31 -07:00
version.properties Improve checkstyle performance and readability (#54308) 2020-03-27 08:05:04 -07:00