Skip to content

Commit

Permalink
fix: specifies gradle version (#24)
Browse files Browse the repository at this point in the history
* docs: specifies gradle version

* fix: hardcode gradle-wrapper version in initialize.sh

* fix gradle-wrapper.jar

* doc: fix typo

* docs: requirements table
  • Loading branch information
HashMapsData2Value authored May 16, 2024
1 parent 63e0582 commit f5f7adb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion initialize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit f5f7adb

Please sign in to comment.