diff --git a/README.md b/README.md index 043fa3ab26..4abcd1e8db 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ A small Java 8 utilities library ([javadoc](http://google.github.io/mug/apidocs/ `String user = first('@').toEnd().removeFrom(email);` * [StringFormat](https://github.com/google/mug/wiki/StringFormat-Explained) extracts structured data from string: `new StringFormat("{yyyy}/{mm}/{dd}").parse(dateStr, (yyyy, mm, dd) -> ...)` +* [SafeQuery](https://github.com/google/mug/wiki/SafeQuery-Explained) and `GoogleSql` for injection-safe SQL templating. * [Parallelizer](https://github.com/google/mug/wiki/Parallelizer-Explained) An _Executor-friendly_, _interruptible_ alternative to parallel streams. * Graph utilities ([Walker](https://google.github.io/mug/apidocs/com/google/mu/util/graph/Walker.html), [ShortestPath](https://google.github.io/mug/apidocs/com/google/mu/util/graph/ShortestPath.html)) * [Google Protobuf Java 8 Utilities](https://google.github.io/mug/mug-protobuf/apidocs) @@ -23,25 +24,53 @@ Add the following to pom.xml: com.google.mug mug - 6.6 + 7.0 ``` +Add `mug-errorprone` to your annotationProcessorPaths: + +``` + + + + + maven-compiler-plugin + + + + com.google.errorprone + error_prone_core + 2.23.0 + + + com.google.mug + mug-errorprone + 7.0 + + + + + + + +``` + Protobuf utils: ``` com.google.mug mug-protobuf - 6.6 + 7.0 ``` -Guava add-ons: +Guava add-ons (with `SafeQuery` and `GoogleSql`): ``` com.google.mug mug-guava - 6.6 + 7.0 ``` @@ -49,9 +78,9 @@ Guava add-ons: Add to build.gradle: ``` - implementation 'com.google.mug:mug:6.6' - implementation 'com.google.mug:mug-guava:6.6' - implementation 'com.google.mug:mug-protobuf:6.6' + implementation 'com.google.mug:mug:7.0' + implementation 'com.google.mug:mug-guava:7.0' + implementation 'com.google.mug:mug-protobuf:7.0' ```