Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

jxnet/Gjnp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gjnp is a gradle plugin for generate JNI Header files.

How to use.

Add a plugin to the build.gradle

plugins {
    id 'com.ardikars.gjnp' version '1.0.0.Final' apply false
}

apply plugin: 'com.ardikars.gjnp' 

Configure a plugin.

Gnjp {
    destination = "${rootDir}/gjnp/include" // default: "${buildDir}/jni/include". 
    nativeClasses = ['com.ardikars.gnjp.JniApp', 'com.ardikars.gjnp.GjnpApp'] // default: Empty list.
    // classpath = [''] // add more classpath, default: current project classpath + dependencies classpath (jar).
}

Releases

No releases published

Packages

No packages published

Languages