How to change Eclipse-Groovy plugin Groovy libraries?

后端 未结 1 751
走了就别回头了
走了就别回头了 2021-01-12 12:33

I am using the newest version (2.8.0) of the Eclipse-Groovy plugin that ships with groovy-all-2.1.5.jar. I added Guice to my Groovy project, and when I go to ru

1条回答
  •  再見小時候
    2021-01-12 13:20

    Groovy-eclipse versions have its own compilers and are "locked" to them. You may change the versions to whatever is listed under Window > Preferences > Groovy > Compilers, but, AFAIK, you can't change to an arbitrary version of the compiler by simply changing the groovy-all jar in the guts of the plugin dir.

    groovy-eclipse compiler version change

    You can install new compiler versions using the update site or eclipse marketplace


    Update: install additional compiler versions through Help > Install new Software, select Groovy update site and expand the Extra Groovy Compilers session:

    enter image description here

    Note i'm using snapshot update site, because i like to live dangerously.

    0 讨论(0)
提交回复
热议问题