diff --git a/.gitignore b/.gitignore index c4e793f..9f4fce0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ -/build -/target -/.gradle -/src/debug -/src/release +**/build +**/target +**/.gradle +**/src/debug +**/src/release /.idea/ /local.properties diff --git a/stremio-core-kotlin/jitpack.yml b/jitpack.yml similarity index 100% rename from stremio-core-kotlin/jitpack.yml rename to jitpack.yml diff --git a/stremio-core-kotlin/Cargo.toml b/stremio-core-kotlin/Cargo.toml index 0ec3f8c..6a17fae 100644 --- a/stremio-core-kotlin/Cargo.toml +++ b/stremio-core-kotlin/Cargo.toml @@ -23,7 +23,7 @@ kotlin = [ ] [lib] -# name = "stremio_core_android" +name = "stremio_core_kotlin" path = "src/commonMain/rust/lib.rs" crate-type = ["staticlib", "dylib"] diff --git a/stremio-core-kotlin/build.gradle.kts b/stremio-core-kotlin/build.gradle.kts index a7f27c0..40ac46f 100644 --- a/stremio-core-kotlin/build.gradle.kts +++ b/stremio-core-kotlin/build.gradle.kts @@ -126,6 +126,7 @@ protobuf { cargo { module = "./" libname = "stremio_core_kotlin" + targetDirectory = "../target" targets = listOf("arm", "arm64", "x86", "x86_64") verbose = true profile = stremioCoreAndroidProfile