Skip to content

Commit 27fdf86

Browse files
committed
Changed build target to Java 8.
1 parent ff01a4c commit 27fdf86

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
language: java
22
jdk:
3-
- openjdk7
43
- oraclejdk8
54
- oraclejdk9
5+
- oraclejdk11
6+
- openjdk10
7+
- openjdk11

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
java-otp is a library for generating one-time passwords using the [HOTP (RFC 4226)](https://tools.ietf.org/html/rfc4226) or [TOTP (RFC 6238)](https://tools.ietf.org/html/rfc6238) standards in Java.
44

5+
## System requirements
6+
7+
java-otp works with Java 8 or newer. If you need support for versions of Java older than Java 8, you may try using java-otp v0.1 (although it is no longer supported).
8+
59
## Usage
610

711
To demonstrate generating one-time passwords, we'll focus on the TOTP algorithm. To create a TOTP generator with a default password length (6 digits), time step (30 seconds), and HMAC algorithm (HMAC-SHA1):

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@
7070
<artifactId>maven-compiler-plugin</artifactId>
7171
<version>3.1</version>
7272
<configuration>
73-
<source>1.7</source>
74-
<target>1.7</target>
73+
<source>1.8</source>
74+
<target>1.8</target>
7575
</configuration>
7676
</plugin>
7777

0 commit comments

Comments
 (0)