I installed Gradle 2.7 in my C:\ directory for Windows 7.
Created a gradle.properties file in the Gradle directory containing the following:
org.gradle.java.home = “c:\Program Files\Java\jdk1.7.0_03”
Include the following the in gradle build file: apply plugin: “java”
When I run “gradle assemble” from the directory containing the build file, I get the following:
> Execution failed for task ‘:compileJava’.
> Could not find tools.jar
I confirmed that the tools.jar file is in the jdk18.104.22.168_03/lib directory.
When i run “gradle tasks” I dont get any extra tasks that should be available with the java plugin.
I would appreciate any suggestions regarding what else I can do to get the gradle build to recognize the tools.jar file?