diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index 3bac8b0f..4f83db08 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -8,7 +8,7 @@ dependencies { implementation gradleApi() implementation localGroovy() - implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.2' + implementation 'com.fasterxml.jackson.core:jackson-databind:2.15.2' implementation "org.antlr:antlr4:${libs.versions.antlr.get()}" implementation 'org.apache.directory.studio:org.apache.commons.io:2.4' implementation 'org.eclipse.tycho:org.eclipse.jdt.core:3.14.0.v20171206-0802' diff --git a/citeproc-java-tool/build.gradle b/citeproc-java-tool/build.gradle index a9976129..940d09c7 100644 --- a/citeproc-java-tool/build.gradle +++ b/citeproc-java-tool/build.gradle @@ -11,8 +11,8 @@ dependencies { implementation 'org.apache.commons:commons-lang3:3.12.0' implementation 'org.jline:jline:3.23.0' - runtimeOnly 'org.citationstyles:styles:23.2' - runtimeOnly 'org.citationstyles:locales:23.2' + runtimeOnly 'org.citationstyles:styles:23.5' + runtimeOnly 'org.citationstyles:locales:23.5' } mainClassName = 'de.undercouch.citeproc.CSLTool' diff --git a/citeproc-java/build.gradle b/citeproc-java/build.gradle index d6c587c7..c0b3bc32 100644 --- a/citeproc-java/build.gradle +++ b/citeproc-java/build.gradle @@ -17,9 +17,9 @@ dependencies { implementation 'org.apache.commons:commons-text:1.10.0' implementation 'org.yaml:snakeyaml:2.0', optional - testImplementation 'commons-io:commons-io:2.11.0' - testImplementation 'org.citationstyles:styles:23.2' - testImplementation 'org.citationstyles:locales:23.2' + testImplementation 'commons-io:commons-io:2.13.0' + testImplementation 'org.citationstyles:styles:23.5' + testImplementation 'org.citationstyles:locales:23.5' testImplementation "org.graalvm.sdk:graal-sdk:$graalVMVersion" testImplementation "org.graalvm.js:js:$graalVMVersion" diff --git a/citeproc-java/src/test/java/de/undercouch/citeproc/CSLTest.java b/citeproc-java/src/test/java/de/undercouch/citeproc/CSLTest.java index 1224dd3f..513ce217 100644 --- a/citeproc-java/src/test/java/de/undercouch/citeproc/CSLTest.java +++ b/citeproc-java/src/test/java/de/undercouch/citeproc/CSLTest.java @@ -389,8 +389,8 @@ public void eventPlace() throws Exception { .event("Conference") .eventPlace("The Place") .build(); - String bib = CSL.makeAdhocBibliography("ieee", "text", item).makeString(); - assertEquals("[1]T. Author, “The Paper,” presented at the Conference, The Place.\n", bib); + String bib = CSL.makeAdhocBibliography("apa", "text", item).makeString(); + assertEquals("Author, T. (n.d.). The Paper. Conference, The Place.\n", bib); } /** diff --git a/citeproc-java/src/test/java/de/undercouch/citeproc/FixturesTest.java b/citeproc-java/src/test/java/de/undercouch/citeproc/FixturesTest.java index 0087a402..1021bef3 100644 --- a/citeproc-java/src/test/java/de/undercouch/citeproc/FixturesTest.java +++ b/citeproc-java/src/test/java/de/undercouch/citeproc/FixturesTest.java @@ -143,7 +143,7 @@ private static Map cslTestSuiteFileToData(File f) String currentKey = null; StringBuilder currentValue = null; try (InputStream is = Files.newInputStream(f.toPath()); - BOMInputStream bis = new BOMInputStream(is); + BOMInputStream bis = BOMInputStream.builder().setInputStream(is).get(); InputStreamReader isr = new InputStreamReader(bis, StandardCharsets.UTF_8); BufferedReader br = new BufferedReader(isr)) { String line;