Implementing bytes library

This commit is contained in:
samo_lego 2020-07-29 14:03:10 +02:00
parent 05ab869b67
commit 8a51f271ad
3 changed files with 14 additions and 5 deletions

View File

@ -11,6 +11,8 @@
## License ## License
Libraries that the project is using: Libraries that the project is using:
- `Argon2 (LGPLv3)` https://github.com/phxql/argon2-jvm - `Argon2 (LGPLv3)` https://github.com/phxql/argon2-jvm
- `BCrypt (Apache 2)` https://github.com/patrickfav/bcrypt
- `Bytes (Apache 2)` https://github.com/patrickfav/bytes-java
- `leveldb (BSD-3-Clause)` https://github.com/google/leveldb - `leveldb (BSD-3-Clause)` https://github.com/google/leveldb
- `JNA (Apache 2 || LGPLv3)` https://github.com/java-native-access/jna - `JNA (Apache 2 || LGPLv3)` https://github.com/java-native-access/jna

View File

@ -32,14 +32,20 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway. // Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
// Argon2 library for password hashing
implementation "de.mkammerer:argon2-jvm:${project.argon2_version}" // Password hashing
include "de.mkammerer:argon2-jvm:${project.argon2_version}" // Argon2
implementation "de.mkammerer:argon2-jvm:${argon2_version}"
include "de.mkammerer:argon2-jvm:${argon2_version}"
// BCrypt // BCrypt
implementation "at.favre.lib:bcrypt:${project.bcrypt_version}" implementation "at.favre.lib:bcrypt:${bcrypt_version}"
implementation "at.favre.lib:bytes:${bytes_version}"
include "at.favre.lib:bcrypt:${bcrypt_version}"
include "at.favre.lib:bytes:${bytes_version}"
// leveldb // Storage
// leveldb database
implementation group: 'org.iq80.leveldb', name: 'leveldb', version: '0.12' implementation group: 'org.iq80.leveldb', name: 'leveldb', version: '0.12'
implementation group: 'org.iq80.leveldb', name: 'leveldb-api', version: '0.12' implementation group: 'org.iq80.leveldb', name: 'leveldb-api', version: '0.12'
include group: 'org.iq80.leveldb', name: 'leveldb', version: '0.12' include group: 'org.iq80.leveldb', name: 'leveldb', version: '0.12'

View File

@ -21,3 +21,4 @@ carpet_branch = 1.16
# Hashing # Hashing
argon2_version = 2.7 argon2_version = 2.7
bcrypt_version = 0.9.0 bcrypt_version = 0.9.0
bytes_version = 1.3.0