Skip to content

Commit 9ecae58

Browse files
committed
Add automated module support
1 parent f9942d9 commit 9ecae58

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# SipHash
2-
3-
[![Build Status](https://travis-ci.org/whitfin/siphash-java.svg?branch=master)](https://travis-ci.org/whitfin/siphash-java) [![Coverage Status](https://coveralls.io/repos/whitfin/siphash-java/badge.svg?branch=master&service=github)](https://coveralls.io/github/whitfin/siphash-java?branch=master)
2+
[![Build Status](https://img.shields.io/github/actions/workflow/status/whitfin/siphash-java/ci.yml?branch=main)](https://github.com/whitfin/siphash-java/actions) [![Coverage Status](https://img.shields.io/coveralls/whitfin/siphash-java.svg)](https://coveralls.io/github/whitfin/siphash-java) [![Maven Version](https://img.shields.io//maven-central/v/io.whitfin/siphash-java.svg)](https://central.sonatype.com/artifact/io.whitfin/siphash)
43

54
A Java implementation of the SipHash cryptographic hash family. Supports any variation, although defaults to the widely used SipHash-2-4. This library offers both a zero-allocation implementation, along with a streaming digest.
65

@@ -14,7 +13,7 @@ This library was heavily influenced by [veorq's C implementation](https://github
1413
<dependency>
1514
<groupId>io.whitfin</groupId>
1615
<artifactId>siphash</artifactId>
17-
<version>2.0.0</version>
16+
<version>2.1.0</version>
1817
</dependency>
1918
```
2019

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,24 @@
126126
<plugin>
127127
<groupId>org.apache.maven.plugins</groupId>
128128
<artifactId>maven-compiler-plugin</artifactId>
129-
<version>3.7.0</version>
129+
<version>3.11.0</version>
130130
<configuration>
131131
<source>8</source>
132132
<target>8</target>
133133
</configuration>
134134
</plugin>
135+
<plugin>
136+
<groupId>org.apache.maven.plugins</groupId>
137+
<artifactId>maven-jar-plugin</artifactId>
138+
<version>3.3.0</version>
139+
<configuration>
140+
<archive>
141+
<manifestEntries>
142+
<Automatic-Module-Name>io.whitfin.siphash</Automatic-Module-Name>
143+
</manifestEntries>
144+
</archive>
145+
</configuration>
146+
</plugin>
135147
<plugin>
136148
<groupId>org.jacoco</groupId>
137149
<artifactId>jacoco-maven-plugin</artifactId>

src/main/java/module-info.java

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)