Skip to content

Commit

Permalink
fix: load lib from ZipWriter & maven artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
rushiiMachine committed Mar 28, 2022
1 parent 154d937 commit c360750
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Java Android bindings for [zip-rs](https://github.com/zip-rs/zip), a native rust

```kotlin
repositories {
maven("https://redditvanced.ddns.net/maven")
maven("https://redditvanced.ddns.net/maven/releases")
}

dependencies {
implementation("com.github.diamondminer88:zip-android:1.0.0")
implementation("com.github.diamondminer88:zip-android:1.0.0@aar")
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

@SuppressWarnings("unused")
public class ZipWriter implements Closeable {
static {
System.loadLibrary("ziprs");
}

@SuppressWarnings("FieldMayBeFinal")
private long ptr = 0;

Expand Down

0 comments on commit c360750

Please sign in to comment.