Is it possible to do cinterop with just a Gradle b...
# kotlin-native
n
Is it possible to do cinterop with just a Gradle build file, and no def files?
a
I have not tried it myself, but
cinterop
tool says
Exception in thread “main” java.lang.IllegalStateException: -def or -pkg should be provided!
Usage: cinterop options_list
-pkg
can be set from Gradle as
packageName
. Maybe this will be enough.
d
I'm 99.999999999% sure that you need a def file. Let us know if you manage to do it.