-
Notifications
You must be signed in to change notification settings - Fork 27
Setting up Password4j
David Bertoldi edited this page Aug 21, 2023
·
6 revisions
Learn how to install properly Password4j and integrate it in your project.
Password4j runs on Java 8, Java 9, Java 10 and Java 11 by any vendor. You should not find any issue unless you are using a custom homemade JVM.
The minimum supported Android API level is 26.
If you are working on a Maven project, you can add the following dependency
<dependency>
<groupId>com.password4j</groupId>
<artifactId>password4j</artifactId>
<version>1.7.2</version>
</dependency>
See on the sidebar of this wiki what is the last stable version on Maven Central.
If you are not using Maven directly, you can still use the dependency from Maven dependency
Add to your build.gradle
module dependencies:
repositories {
mavenCentral()
}
dependencies {
implementation 'com.password4j:password4j:1.7.2'
}
Add to the managed dependencies of your build.sbt
the latest version:
libraryDependencies += "com.password4j" % "password4j" % "1.7.2"
Or you can download the JAR here and include it under your classpath.