Add JNA issue fix in documentation
This commit is contained in:
parent
05aa7157df
commit
9ae938ca8c
@ -95,5 +95,18 @@ and use the `publishToMavenLocal` task without excluding the signing task:
|
|||||||
./gradlew publishToMavenLocal
|
./gradlew publishToMavenLocal
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Known issues
|
||||||
|
Depending on the JVM version you use, you might not have the JNA dependency on your classpath. The exception thrown will be
|
||||||
|
```shell
|
||||||
|
class file for com.sun.jna.Pointer not found
|
||||||
|
```
|
||||||
|
The solution is to add JNA as a dependency like so:
|
||||||
|
```kotlin
|
||||||
|
dependencies {
|
||||||
|
// ...
|
||||||
|
implementation("net.java.dev.jna:jna:5.12.1")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
[`bdk`]: https://github.com/bitcoindevkit/bdk
|
[`bdk`]: https://github.com/bitcoindevkit/bdk
|
||||||
[`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi
|
[`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi
|
||||||
|
@ -82,5 +82,18 @@ and use the `publishToMavenLocal` task without excluding the signing task:
|
|||||||
./gradlew publishToMavenLocal
|
./gradlew publishToMavenLocal
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Known issues
|
||||||
|
Depending on the JVM version you use, you might not have the JNA dependency on your classpath. The exception thrown will be
|
||||||
|
```shell
|
||||||
|
class file for com.sun.jna.Pointer not found
|
||||||
|
```
|
||||||
|
The solution is to add JNA as a dependency like so:
|
||||||
|
```kotlin
|
||||||
|
dependencies {
|
||||||
|
// ...
|
||||||
|
implementation("net.java.dev.jna:jna:5.12.1")
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
[`bdk`]: https://github.com/bitcoindevkit/bdk
|
[`bdk`]: https://github.com/bitcoindevkit/bdk
|
||||||
[`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi
|
[`bdk-ffi`]: https://github.com/bitcoindevkit/bdk-ffi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user