multi module gradle project

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

multi module gradle project

smurfs
This post has NOT been accepted by the mailing list yet.
I am working on a multi module grails plugin project. To make a particular version of plugin work across other plugins, i created a version param as

pluginVersion=2.0

in the main parent plugin's build.gradle.

And, i have used spring interpolation and added that variable as
 com.test.p1:$pluginVersion
in dependencies section of build.gradle . It works fine in jenkins. Why i have done this way is, it would be easier whenever i change the version of the plugin.


But, when i open in GGTS/Eclipse, it does not know what is pluginVersion? Can you please suggest a good mechanism of handling multiple plugin versions in GGTS/ eclipse?

Thanks
Smurf