Skip to content

Commit

Permalink
rust-ed25519-bip32 submodule update
Browse files Browse the repository at this point in the history
Signed-off-by: Curtis Harding <ch@curtish.me>
  • Loading branch information
curtis-h authored and goncalo-frade-iohk committed May 8, 2024
1 parent baf81f9 commit 3ca4e01
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions apollo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ val ed25519bip32Dir = rootDir.resolve("rust-ed25519-bip32")
val generatedDir = project.layout.buildDirectory.asFile.get().resolve("generated")
val generatedResourcesDir = project.layout.buildDirectory.asFile.get().resolve("generatedResources")
val ed25519bip32BinariesDir = ed25519bip32Dir.resolve("wrapper").resolve("target")
val ANDROID_SDK = System.getenv("ANDROID_HOME")
val NDK = System.getenv("ANDROID_NDK_HOME")

plugins {
kotlin("multiplatform")
Expand Down Expand Up @@ -307,6 +309,12 @@ val copyEd25519Bip32Wrapper by tasks.register("copyEd25519Bip32") {
val buildEd25519Bip32Wrapper by tasks.register<Exec>("buildEd25519Bip32Wrapper") {
group = taskGroup
workingDir = ed25519bip32Dir.resolve("wrapper")
val localEnv = this.environment
localEnv += mapOf(
"ANDROID_HOME" to ANDROID_SDK,
"ANDROID_NDK_HOME" to NDK
)
this.environment = localEnv
commandLine("./build-kotlin-library.sh")
}

Expand Down
2 changes: 1 addition & 1 deletion rust-ed25519-bip32

0 comments on commit 3ca4e01

Please sign in to comment.