diff options
author | Nathan Herring <Capstan@users.noreply.github.com> | 2018-05-30 21:26:02 +0200 |
---|---|---|
committer | Carl Mastrangelo <notcarl@google.com> | 2018-05-30 12:26:02 -0700 |
commit | 8db8497ef0d603510175471db21ee27092dd7969 (patch) | |
tree | a0250faa12539dc3fdc1abb594862e596e452d3e /build.gradle | |
parent | f3ef2850a9c5e04b45d3a68ab86034aec57ccc4f (diff) | |
download | grpc-grpc-java-8db8497ef0d603510175471db21ee27092dd7969.tar.gz |
services: use RE2/J
RE2/J ensures linear time matching, and as such is preferred over `java.util.regex` for safety in the mono repo. While currently safe, this conversion future-proofs any `Pattern`s in BinlogHelper, and removes the need to maintain an exception for gRPC wrt. use of regexes.
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 40f675e8f..714bf367e 100644 --- a/build.gradle +++ b/build.gradle @@ -218,6 +218,7 @@ subprojects { netty_tcnative: 'io.netty:netty-tcnative-boringssl-static:2.0.8.Final', conscrypt: 'org.conscrypt:conscrypt-openjdk-uber:1.0.1', + re2j: 'com.google.re2j:re2j:1.2', // Test dependencies. junit: 'junit:junit:4.12', |