Gradle build for C++ - solaris platform

Hi, Currently we are using solaris operating system with Nmake utility to build C++ code and our C++ applications will also runs on solaris OS.

output of uname -a :
SunOS dvc7959 5.10 Generic_150400-20 sun4v sparc sun4v

Now we are trying to use gradle tool to build our C++ code in windows but the binaries/libraries will be deployed on solaris. so we tried to set targetmachine in build.gradle file like below but we are getting an error “No such property: sunos for class: org.gradle.nativeplatform.internal.DefaultTargetMachineFactory”.

application { targetMachines = [

we see in documentation like below for other operating system.
application {
targetMachines = [

  1. What will be the syntax for specifying the solaris operating system like above? Could you please help us ?

  2. Also will gradle supports for building C++ code against solaris OS from windows?

  3. Can we install gradle on solaris OS to build C++ code. ?

Waiting for your reply. Thanks in advance.