Skip to content

Commit b688b05

Browse files
committed
Update dependencies
Fix ant test target Upgrade to java 11
1 parent 99fbece commit b688b05

9 files changed

Lines changed: 10 additions & 9 deletions

File tree

build.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
<junit printsummary="yes" fork="true" haltonfailure="yes">
5050
<jvmarg value="-Xmx1g"/>
5151
<classpath>
52-
<pathelement location="lib/junit-4.11.jar" />
53-
<pathelement location="lib/hamcrest-core-1.3.jar" />
52+
<pathelement location="lib/junit-4.13.2.jar" />
53+
<pathelement location="lib/hamcrest-2.2.jar" />
5454
<pathelement location="lib/multihash.jar" />
5555
<pathelement location="dist/multiaddr.jar" />
5656
</classpath>
57-
<test name="io.ipfs.multiaddr.MultiAddressTest" haltonfailure="yes">
57+
<test name="io.ipfs.api.MultiAddressTest" haltonfailure="yes">
5858
<formatter type="plain"/>
5959
<formatter type="xml"/>
6060
</test>

lib/cid.jar

89 Bytes
Binary file not shown.

lib/hamcrest-2.2.jar

120 KB
Binary file not shown.

lib/hamcrest-core-1.3.jar

-44 KB
Binary file not shown.

lib/junit-4.12.jar

-308 KB
Binary file not shown.

lib/junit-4.13.2.jar

376 KB
Binary file not shown.

lib/multihash.jar

5.8 KB
Binary file not shown.

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@
3131
<properties>
3232
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3333
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
34-
<version.junit>4.13.1</version.junit>
35-
<version.hamcrest>1.3</version.hamcrest>
36-
<version.cid>v1.3.1</version.cid>
34+
<version.junit>4.13.2</version.junit>
35+
<version.hamcrest>2.2</version.hamcrest>
36+
<version.cid>v1.3.2</version.cid>
3737
</properties>
3838

3939
<repositories>
@@ -57,7 +57,7 @@
5757
</dependency>
5858
<dependency>
5959
<groupId>org.hamcrest</groupId>
60-
<artifactId>hamcrest-core</artifactId>
60+
<artifactId>hamcrest</artifactId>
6161
<version>${version.hamcrest}</version>
6262
<scope>test</scope>
6363
</dependency>
@@ -70,8 +70,8 @@
7070
<artifactId>maven-compiler-plugin</artifactId>
7171
<version>3.1</version>
7272
<configuration>
73-
<source>1.8</source>
74-
<target>1.8</target>
73+
<source>11</source>
74+
<target>11</target>
7575
</configuration>
7676
</plugin>
7777
<plugin>

src/test/java/io/ipfs/api/MultiAddressTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package io.ipfs.api;
22

33
import io.ipfs.multiaddr.*;
4+
import io.ipfs.multihash.*;
45
import org.junit.*;
56

67
import java.io.*;

0 commit comments

Comments
 (0)