update named modules, Jackson 2.11
This commit is contained in:
parent
ae7120036d
commit
938e1afd37
5 changed files with 19 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
group = org.xbib
|
||||
name = net
|
||||
version = 2.0.4
|
||||
version = 2.1.0
|
||||
|
||||
gradle.wrapper.version = 6.4.1
|
||||
jackson.version = 2.9.10
|
||||
jackson.version = 2.11.0
|
||||
asciidoclet.version = 1.5.6
|
||||
|
|
|
@ -33,3 +33,12 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
|
|||
artifacts {
|
||||
archives sourcesJar, javadocJar
|
||||
}
|
||||
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << '-Xlint:all'
|
||||
}
|
||||
|
||||
javadoc {
|
||||
options.addStringOption('Xdoclint:none', '-quiet')
|
||||
}
|
||||
|
|
|
@ -4,4 +4,10 @@ module org.xbib.net.url {
|
|||
exports org.xbib.net.matcher;
|
||||
exports org.xbib.net.scheme;
|
||||
exports org.xbib.net.template;
|
||||
exports org.xbib.net.template.expression;
|
||||
exports org.xbib.net.template.parse;
|
||||
exports org.xbib.net.template.render;
|
||||
exports org.xbib.net.template.vars;
|
||||
exports org.xbib.net.template.vars.specs;
|
||||
exports org.xbib.net.template.vars.values;
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ import java.util.regex.Pattern;
|
|||
/**
|
||||
* Path string matcher.
|
||||
*/
|
||||
class PathStringMatcher {
|
||||
public class PathStringMatcher {
|
||||
|
||||
private static final Pattern GLOB_PATTERN = Pattern.compile("\\?|\\*|\\{((?:\\{[^/]+?\\}|[^/{}]|\\\\[{}])+?)\\}");
|
||||
|
||||
|
@ -20,7 +20,7 @@ class PathStringMatcher {
|
|||
|
||||
private final Pattern pattern;
|
||||
|
||||
PathStringMatcher(String pattern, boolean caseSensitive) {
|
||||
public PathStringMatcher(String pattern, boolean caseSensitive) {
|
||||
StringBuilder patternBuilder = new StringBuilder();
|
||||
Matcher matcher = GLOB_PATTERN.matcher(pattern);
|
||||
int end = 0;
|
||||
|
|
Loading…
Reference in a new issue