Is it possible to unregister native binary type?

Hi guys,

Is it possible to unregister a native type per project?

For instance this would be useful if it was known upfront that this project would always produce static library and since that is known you would like to hide the tasks for building a shared library.

Regards,
Ante

I don’t know of any way to remove or hide them but you can mark them as not buildable.

binaries.withType(SharedLibraryBinarySpec) {
    buildable = false
}