Re: Static type checking

2016-09-03 Thread cazacugmihai
I've already had that library in my build.gradle file but the mavenLocal() was commented in repositories's configuration. It work now. Thanks, Keegan! -- View this message in context: http://groovy.329449.n5.nabble.com/Static-type-checking-tp5735162p5735196.html Sent from the Groovy Users

Re: Static type checking

2016-09-03 Thread Keegan Witt
Yea don't click that one (don't know why it doesn't work -- I even tried switching out the Groovy jar version in IntelliJ's lib), instead click Project Structure -> Libraries -> + -> Java, then select the jar. -Keegan On Sat, Sep 3, 2016 at 11:06 AM, cazacugmihai wrote:

Re: Static type checking

2016-09-03 Thread cazacugmihai
Hi Keegan! Can you write down those steps? If I'm opening a groovy file, IntellijIdea shows me a message in order to setup Groovy SDK: > "Groovy SDK is not configured for module... Configure Groovy SDK...". Pressing that message, a new window (title: "Setup Library") is opened. Here I only

Re: Static type checking

2016-09-03 Thread Keegan Witt
Mihail, Instead of adding the whole candidate directory as a global library, just add the Groovy 2.5.0 jar as a java lib. That worked for me. -Keegan On Sat, Sep 3, 2016 at 9:38 AM, Mihai Cazacu wrote: > The issue is fixed now. Thank you! > > I just don't know how to

Re: Static type checking

2016-09-03 Thread Mihai Cazacu
The issue is fixed now. Thank you! I just don't know how to use this new groovy version in IntellijIdea. Here it is what I did so far: cd ~/.sdkman/candidates/groovy > git clone https://github.com/apache/groovy.git groovy-2.5.0-SNAPSHOT > cd groovy-2.5.0-SNAPSHOT > ./gradlew clean dist > sdk u