title: CMAKE arguments for different ABI in Gradle
body: <p>I have to use different arguments parameters in Gradle for different ABIs, something like the following:</p>
  
  <pre><code>        externalNativeBuild {
              cmake {
                  if (CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64)$")
                      arguments "-UV_LIBRARY=src/main/cpp/libuv/lib/libuv_armv8.a"
                  else
                      arguments "-UV_LIBRARY=src/main/cpp/libuv/lib/libuv_armv7.a"
              }
          }
  </code></pre>
  
  <p>Any ideas?</p>