-
Notifications
You must be signed in to change notification settings - Fork 77
Download
Olivier Chafik edited this page Nov 9, 2022
·
7 revisions
It is advised to use Maven or sbt to manage dependencies automatically.
"Snapshots" are the latest deployed development version, e.g. 0.8.0-SNAPSHOT is the development version that will eventually lead to the 0.8.0 release version.
BridJ has several build artefacts, refer to the Build page for more details (in general the default artefact will be enough, but you might want one with C support only, or with only Unix support, to save size).
<project...>
<repositories>
<repository>
<id>nativelibs4java-repo</id>
<url>https://nativelibs4java.sourceforge.net/maven</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.nativelibs4java</groupId>
<artifactId>bridj</artifactId>
<version>0.7.0</version>
<!-- <version>0.8.0-SNAPSHOT</version> -->
<scope>compile</scope>
</dependency>
</dependencies>
...
</project>
resolvers += Resolver.sonatypeRepo("snapshots")
libraryDependencies += "com.nativelibs4java" % "bridj" % "0.7.0"
// libraryDependencies += "com.nativelibs4java" % "bridj" % "0.8.0-SNAPSHOT"
- Releases:
- Recent releases are available in the Releases page here on GitHub and can be downloaded directly from the Maven Central repository
- Legacy releases are available in the old Google Code Downloads page and can be downloaded from the old NativeLibs4Java Maven repo
- Snapshots can be downloaded from the OSS Sonatype Snapshots Maven repository
You can also try BridJ quickly through JNAerator (just select "BridJ" in the "Runtime" combobox).