diff --git a/README.md b/README.md index 784514e..f1ca636 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,15 @@ Note that this library has not undergone audit and is not recommended for produc Currently there are two folders, one to create an .aar file for use in Android, another to prepare .jar files for use in standard Kotlin desktop use-cases. +## Requirements + +| Requirement | Version | +| ----------- | ------- | +| Kotlin | 1.9.22 | +| Gradle | 8.6 | +| Android | 26 | +| Java | 17 | + ## Installation This library uses a forked version of LazySodium-Java that exposes Ed25519 operations. The fork has been added as a Git Submodule. It needs to be initialized, built and have its .jar files moved into lib/libs at the root level of this repository. diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar index d64cd49..e644113 100644 Binary files a/gradle/wrapper/gradle-wrapper.jar and b/gradle/wrapper/gradle-wrapper.jar differ diff --git a/initialize.sh b/initialize.sh index d79166f..48c4fac 100755 --- a/initialize.sh +++ b/initialize.sh @@ -16,7 +16,7 @@ cd .. find lazysodium-java/build/libs/ -type f \( -name "lazysodium-java-*-javadoc.jar" -o -name "lazysodium-java-*.jar" \) ! -name "*-sources.jar" -exec cp {} sharedModule/libs/ \; echo "Attempting to build" -gradle wrapper +gradle wrapper --gradle-version 8.6 ./gradlew build echo "Checking if Bip32Ed25519-Android*.aar and Bip32Ed25519-JVM*.jar exist in build/ directory..."