Skip to content

Commit

Permalink
fix: library naming and rust target path
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeastLT committed Nov 1, 2024
1 parent 9de1554 commit 568dcd5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/build
/target
/.gradle
/src/debug
/src/release
**/build
**/target
**/.gradle
**/src/debug
**/src/release
/.idea/
/local.properties

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion stremio-core-kotlin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kotlin = [
]

[lib]
# name = "stremio_core_android"
name = "stremio_core_kotlin"
path = "src/commonMain/rust/lib.rs"
crate-type = ["staticlib", "dylib"]

Expand Down
1 change: 1 addition & 0 deletions stremio-core-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ protobuf {
cargo {
module = "./"
libname = "stremio_core_kotlin"
targetDirectory = "../target"
targets = listOf("arm", "arm64", "x86", "x86_64")
verbose = true
profile = stremioCoreAndroidProfile
Expand Down

0 comments on commit 568dcd5

Please sign in to comment.