mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-18 22:23:07 -03:00
java: retrofit bindings for JNA generated from Cgo 1.10
Go 1.10 improved the way of passing strings between C and Go with https://go-review.googlesource.com/c/go/+/70890 This change adapts API/helpers to a new convention, without changing existing API surface and without benefiting from a new way of passing strings. Another, perferable on my readind of `go doc cgo`, but more invasive approach would be to change ALL enry C API to always return *C.char \w C.CString() Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
@ -35,6 +35,7 @@ pgpSecretRing := baseDirectory.value / "project" / ".gnupg" / "secring.gpg"
|
||||
pgpPublicRing := baseDirectory.value / "project" / ".gnupg" / "pubring.gpg"
|
||||
pgpPassphrase := Some(SONATYPE_PASSPHRASE.toArray)
|
||||
|
||||
libraryDependencies += "com.nativelibs4java" % "jnaerator-runtime" % "0.12"
|
||||
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % Test
|
||||
|
||||
unmanagedBase := baseDirectory.value / "lib"
|
||||
|
Reference in New Issue
Block a user