I am running Eclipse Luna SR2 with Buildship 1.0.1.
The Gradle projects that I create using the wizard are built using Gradle 2.5-rc-2, but I would like to use 2.6, which is the latest version.
How can i do this?
The task setup had no effect:
apply plugin: 'java' repositories { jcenter() } dependencies { testCompile 'junit:junit:4.12' } task wrapper(type: Wrapper) { gradleVersion = '2.6' }
Solution: For some reason, it only works if I restart Eclipse after installing the version, as Makoto suggested.
source share