This plugin creates new packages containing native libraries using JavaCPP.
It defines the following extra property:
- "javacppPlatform", which defaults to
Loader.getPlatform(),
- "javacppPlatformExtension", which defaults to an empty string,
creates the following extension:
as well as the following configuration:
- "javacppPlatform", to be used to specify dependencies for the "-platform" artifact,
and registers the following tasks:
- "javacppBuildCommand" to execute
BuildTask.buildCommand,
- "javacppCompileJava" to compile classes needed by the parser,
- "javacppBuildParser" to run the parser on these classes,
- "javacppBuildCompiler" to generate and compile JNI code,
- "javacppPomProperties" to write version information to pom.properties,
- "javacppJar" to archive the native libraries in a separate JAR file,
- "javacppPlatformJar", to create an empty JAR file for the main "-platform" artifact,
- "javacppPlatformJavadocJar", to create an empty JAR file for the "-platform" javadoc artifact, and
- "javacppPlatformSourcesJar", to create an empty JAR file for the "-platform" sources artifact,