Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.9.4/maven-wrapper-3.9.4.jar
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.15/apache-maven-3.9.15-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.4/maven-wrapper-3.3.4.jar
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ The official [Bitwarden Passwordless.dev](https://passwordless.dev/) Java librar
<dependency>
<groupId>com.bitwarden</groupId>
<artifactId>passwordless</artifactId>
<version>1.2.3</version>
<version>1.2.4</version>
</dependency>
```

**Gradle**: add to the `dependencies` in *gradle.build* file:

```groovy
implementation group: 'com.bitwarden', name: 'passwordless', version: '1.2.3'
implementation group: 'com.bitwarden', name: 'passwordless', version: '1.2.4'
```

### Dependencies
Expand Down Expand Up @@ -148,12 +148,9 @@ For a comprehensive list of examples, check out the [API documentation][api-docs

## Contributing

This library compiles to Java 8 compatible runtime and requires minimum JDK 8 installed.
This library compiles to a Java 8 compatible runtime and requires JDK 8 or newer installed. Tested up to JDK 25.

Newer JDK are still backwards compatible to version 8, so you are free to use any of the JDK version - tested up to
version 20.

Download and install [JDK 8](https://adoptium.net/temurin/releases/?version=8) if you do not have compatible JDK.
Download and install [JDK 8](https://adoptium.net/temurin/releases/?version=8) if you do not have a compatible JDK.

The `JAVA_HOME` environment variable needs to contain installed JDK path.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.4/apache-maven-3.9.4-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.9.4/maven-wrapper-3.9.4.jar
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.15/apache-maven-3.9.15-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.3.4/maven-wrapper-3.3.4.jar
2 changes: 1 addition & 1 deletion examples/spring-boot-3-jdk-17/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ JDK 17 or newer is required to run the application.
6. For all Passwordless API functionalities supported by Java SDK, navigate to http://localhost:8080/swagger-ui/index.html
7. See [Example Passwordless REST Api requests and responses](example-rest-requests/passwordless-api.http)

[passwordless-java-sdk]:https://github.com/passwordless/passwordless-java-
[passwordless-java-sdk]:https://github.com/passwordless/passwordless-java
17 changes: 16 additions & 1 deletion examples/spring-boot-3-jdk-17/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<properties>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<lombok.version>1.18.38</lombok.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -47,7 +49,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.28</version>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>

Expand All @@ -71,6 +73,19 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
Expand Down
18 changes: 12 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.bitwarden</groupId>
<artifactId>passwordless</artifactId>
<version>1.2.3</version>
<version>1.2.4</version>
<name>passwordless</name>
<description>Passwordless.dev Java SDK</description>
<packaging>jar</packaging>
Expand Down Expand Up @@ -43,7 +43,8 @@
</developers>

<properties>
<java.version>1.8</java.version>
<java.version>8</java.version>
<lombok.version>1.18.38</lombok.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<sonar.organization>bitwarden</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
Expand Down Expand Up @@ -102,7 +103,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.36</version>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
<!-- <dependency>-->
Expand Down Expand Up @@ -156,11 +157,16 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.13.0</version>
<configuration>
<source>${java.version}</source>
<source>${java.version}</source>
<source>${java.version}</source>
<release>${java.version}</release>
<showDeprecation>true</showDeprecation>
<showWarnings>true</showWarnings>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<plugin>
Expand Down
Loading