Native: Reducing repetative modeling

I have a project which contains many executables, most of which link to the same set of libraries.

If all the executables linked to the same set then I could do this:

model {
    binaries {
        all {
             lib project ':projA', library: 'common', linkage: 'shared'
             lib project ':projA', library: 'security', linkage: 'shared'
    components {
      exe3(NativeExecutableSpec) // This does not need security

The problem is that I have exe3 does not need the security library. Doing it as above, would cause it to link against security. What can I do besides, specifying the libraries for each exe individually?

edit: fix formatting