how to write a gradle build file for c code to create a shared object library (.so) file ?
For creating C executables i can use the below , please guide for creating .so files
apply plugin : 'c'
model {
components {
main(NativeExecutableSpec)
}
}