Skip to content

Commit

Permalink
fix: building order android (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
lisicky authored Jun 16, 2023
1 parent f6962f5 commit 96321c1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ cargo {
prebuiltToolchains = true
}

tasks.whenTaskAdded { task ->
if ((task.name == 'javaPreCompileDebug' || task.name == 'javaPreCompileRelease')) {
task.dependsOn 'cargoBuild'
}
}

repositories {
// ref: https://www.baeldung.com/maven-local-repository
mavenLocal()
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@emurgo/csl-mobile-bridge",
"title": "CSL mobile bridge",
"version": "5.1.1",
"version": "5.1.2",
"description": "React-native bindings for Emurgo's cardano-serialization-lib (Cardano haskell Shelley)",
"main": "index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "csl-mobile-bridge"
version = "5.1.1"
version = "5.1.2"
authors = ["EMURGO"]
edition = "2018"

Expand Down

0 comments on commit 96321c1

Please sign in to comment.