Repository: ergoplatform/sigma-rust (language: rust)

Issue:
Rename bindings/ergo-lib-android/ folder to bindings/ergo-lib-jni



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml
index 33030e4ce..ddbc74fc7 100644
--- a/.github/workflows/android.yml
+++ b/.github/workflows/android.yml
@@ -29,5 +29,5 @@ jobs:
         uses: reactivecircus/android-emulator-runner@v2
         with:
           api-level: 29
-          script: cd ./bindings/ergo-lib-android && ./gradlew connectedCheck
+          script: cd ./bindings/ergo-lib-jni && ./gradlew connectedCheck
 
diff --git a/Cargo.toml b/Cargo.toml
index 07f5aadf7..e07772e1b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -5,7 +5,7 @@ members = [
     "bindings/ergo-lib-wasm",
     "bindings/ergo-lib-c-core",
     "bindings/ergo-lib-c",
-    "bindings/ergo-lib-android",
+    "bindings/ergo-lib-jni",
 ]
 
 [profile.release]
diff --git a/README.md b/README.md
index bcd03fc7c..d37080bbc 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ Main crate with ErgoTree AST, interpreter, chain types (transactions, boxes, etc
 Bindings:
 - [ergo-lib-wasm](https://github.com/ergoplatform/sigma-rust/tree/develop/bindings/ergo-lib-wasm) [![Latest Version](https://img.shields.io/crates/v/ergo-lib-wasm.svg)](https://crates.io/crates/ergo-lib-wasm) [![Documentation](https://docs.rs/ergo-lib-wasm/badge.svg)](https://docs.rs/crate/ergo-lib-wasm) [![Latest version](https://img.shields.io/npm/v/ergo-lib-wasm)](https://www.npmjs.com/package/ergo-lib-wasm)
 - [ergo-lib-ios](https://github.com/ergoplatform/sigma-rust/tree/develop/bindings/ergo-lib-ios)
-- [ergo-lib-jni](https://github.com/ergoplatform/sigma-rust/tree/develop/bindings/ergo-lib-android) [![Latest Version](https://img.shields.io/crates/v/ergo-lib-jni.svg)](https://crates.io/crates/ergo-lib-jni) [![Documentation](https://docs.rs/ergo-lib-jni/badge.svg)](https://docs.rs/crate/ergo-lib-jni)
+- [ergo-lib-jni](https://github.com/ergoplatform/sigma-rust/tree/develop/bindings/ergo-lib-jni) [![Latest Version](https://img.shields.io/crates/v/ergo-lib-jni.svg)](https://crates.io/crates/ergo-lib-jni) [![Documentation](https://docs.rs/ergo-lib-jni/badge.svg)](https://docs.rs/crate/ergo-lib-jni)
 - [ergo-lib-c](https://github.com/ergoplatform/sigma-rust/tree/develop/bindings/ergo-lib-c) [![Latest Version](https://img.shields.io/crates/v/ergo-lib-c.svg)](https://crates.io/crates/ergo-lib-c) [![Documentation](https://docs.rs/ergo-lib-c/badge.svg)](https://docs.rs/crate/ergo-lib-c)
 
 ## Contributing
diff --git a/bindings/ergo-lib-android/Cargo.toml b/bindings/ergo-lib-jni/Cargo.toml
similarity index 100%
rename from bindings/ergo-lib-android/Cargo.toml
rename to bindings/ergo-lib-jni/Cargo.toml
diff --git a/bindings/ergo-lib-android/build.gradle b/bindings/ergo-lib-jni/build.gradle
similarity index 100%
rename from bindings/ergo-lib-android/build.gradle
rename to bindings/ergo-lib-jni/build.gradle
diff --git a/bindings/ergo-lib-android/gradle.properties b/bindings/ergo-lib-jni/gradle.properties
similarity index 100%
rename from bindings/ergo-lib-android/gradle.properties
rename to bindings/ergo-lib-jni/gradle.properties
diff --git a/bindings/ergo-lib-android/gradle/wrapper/gradle-wrapper.jar b/bindings/ergo-lib-jni/gradle/wrapper/gradle-wrapper.jar
similarity index 100%
rename from bindings/ergo-lib-android/gradle/wrapper/gradle-wrapper.jar
rename to bindings/ergo-lib-jni/gradle/wrapper/gradle-wrapper.jar
diff --git a/bindings/ergo-lib-android/gradle/wrapper/gradle-wrapper.properties b/bindings/ergo-lib-jni/gradle/wrapper/gradle-wrapper.properties
similarity index 100%
rename from bindings/ergo-lib-android/gradle/wrapper/gradle-wrapper.properties
rename to bindings/ergo-lib-jni/gradle/wrapper/gradle-wrapper.properties
diff --git a/bindings/ergo-lib-android/gradlew b/bindings/ergo-lib-jni/gradlew
similarity index 100%
rename from bindings/ergo-lib-android/gradlew
rename to bindings/ergo-lib-jni/gradlew
diff --git a/bindings/ergo-lib-android/gradlew.bat b/bindings/ergo-lib-jni/gradlew.bat
similarity index 100%
rename from bindings/ergo-lib-android/gradlew.bat
rename to bindings/ergo-lib-jni/gradlew.bat
diff --git a/bindings/ergo-lib-android/settings.gradle b/bindings/ergo-lib-jni/settings.gradle
similarity index 100%
rename from bindings/ergo-lib-android/settings.gradle
rename to bindings/ergo-lib-jni/settings.gradle
diff --git a/bindings/ergo-lib-android/src/androidTest/java/org/ergoplatform/wallet/jni/WalletLibTest.kt b/bindings/ergo-lib-jni/src/androidTest/java/org/ergoplatform/wallet/jni/WalletLibTest.kt
similarity index 100%
rename from bindings/ergo-lib-android/src/androidTest/java/org/ergoplatform/wallet/jni/WalletLibTest.kt
rename to bindings/ergo-lib-jni/src/androidTest/java/org/ergoplatform/wallet/jni/WalletLibTest.kt
diff --git a/bindings/ergo-lib-android/src/main/AndroidManifest.xml b/bindings/ergo-lib-jni/src/main/AndroidManifest.xml
similarity index 100%
rename from bindings/ergo-lib-android/src/main/AndroidManifest.xml
rename to bindings/ergo-lib-jni/src/main/AndroidManifest.xml
diff --git a/bindings/ergo-lib-android/src/main/java/org/ergoplatform/wallet/jni/WalletLib.kt b/bindings/ergo-lib-jni/src/main/java/org/ergoplatform/wallet/jni/WalletLib.kt
similarity index 100%
rename from bindings/ergo-lib-android/src/main/java/org/ergoplatform/wallet/jni/WalletLib.kt
rename to bindings/ergo-lib-jni/src/main/java/org/ergoplatform/wallet/jni/WalletLib.kt
diff --git a/bindings/ergo-lib-android/src/main/rust/exception.rs b/bindings/ergo-lib-jni/src/main/rust/exception.rs
similarity index 100%
rename from bindings/ergo-lib-android/src/main/rust/exception.rs
rename to bindings/ergo-lib-jni/src/main/rust/exception.rs
diff --git a/bindings/ergo-lib-android/src/main/rust/lib.rs b/bindings/ergo-lib-jni/src/main/rust/lib.rs
similarity index 100%
rename from bindings/ergo-lib-android/src/main/rust/lib.rs
rename to bindings/ergo-lib-jni/src/main/rust/lib.rs


Test patch:
diff --git a/bindings/ergo-lib-android/src/test/java/org/ergoplatform/wallet/jni/WalletLibTest.kt b/bindings/ergo-lib-jni/src/test/java/org/ergoplatform/wallet/jni/WalletLibTest.kt
similarity index 100%
rename from bindings/ergo-lib-android/src/test/java/org/ergoplatform/wallet/jni/WalletLibTest.kt
rename to bindings/ergo-lib-jni/src/test/java/org/ergoplatform/wallet/jni/WalletLibTest.kt