Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Gradle "cannot resolve symbol 'task'"

$
0
0

Hi,

I've just started working with Gradle - wrote the "hello world"

 

task helloWorld {

  println 'Hello World'

}

 

The symbols "task" and "helloWorld" are coming up cannot resolve.

+ when i try to create an new project or module, the "Gradle" option is not available as per http://www.jetbrains.com/idea/webhelp/creating-a-gradle-project.html

 

Some env. info:

  • IntelliJ IDEA ultimate 12.1.6
  • Windows O/S
  • Gradle 1.11
  • Groovy 1.8.6
  • I have the bundled Gradle  & Groovy plugins installed, and the Gradle is configured to the install folder
  • I can run the script from the IDE & command line

 

How do i get IJ to recognise the syntax?

 

~gilbert


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>