fromProducer

abstract fun fromProducer(project: Project)

Takes the binding from a producer project that applies io.github.mimimishkin.jni.binding.plugin.producer.JniLibProducerPlugin.

Gradle will rebuild the native binary and update the JniActuals' info on every change in the producer project.

Parameters

project

producer project.


abstract fun fromProducer(projectPath: String)

Takes the binding from a producer project resolved by its path.

Parameters

projectPath

path of the producer project, absolute or relative to the current project.