Non-native compilers

Hello. I didnt used Gradle, i`m trying to understand if it satisfies my requirement.
Can Gradle call non-native compilers? For example, build for one target with IAR compiler (there is executable compiler and linker).