Hi.
We have a bunch of Gradle scripts that are building native projects on linux. All of our development of the Gradle files was done on a Rhel5 (Red Hat Enterprise Linux 5) linux machine, and they all run fine. We just tried running the exact same project on a Rhel 4 machine, and it fails:
> Could not create plugin of type 'MicrosoftVisualCppPlugin'.
This happens on line 3, which is:
apply plugin : 'cpp'
Running “gradle --version” on the Rhel 4 machine provides (retyped):
-----
Gradle 1.11
-----
Build time:
2014-02-11 11:34:39 UTC
Build number:
none
Revision:
a831fa866d4cbee94e61a09af15f9dd95987421
Groovy:
1.8.6
Ant:
Apache Ant(TM) version 1.9.2 compiled on July 8 2013
Ivy:
2.2.0
JVM:
1.6.0_01 (Sun Microsystems Inc. 1.6.0_01-b06)
OS:
Linux 2.6.9-42.0.8.ELsmp amd64
Any ideas as to why its trying to load the ‘MicrosoftVisualCppPlugin’?
Again… on a Rhel 5 machine, it builds correctly using g++.