IntelliJ and CI with GradleFX
Hi,
I'm using IntelliJ to develope flex mobile application.
I'm looking for a way to have CI support for my project.
Do I have to manually create Gradle build script to use
GradleFx?
It will mean I have my IntelliJ project and a separate GradleFx
coniguration, right?
Is there a way to have one true configuration?
Thank you
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Yennick Trevels on 02 Apr, 2014 06:10 AM
Hi,
Yes, since GradleFx is only a plugin for Gradle, you'll have to create a Gradle build script. This will indeed be a separate configuration.
At this moment we don't support Intellij yet (we don't generate project files), but we do support FlashBuilder. Since Intellij supports importing Flashbuilder projects, you can maybe get one configuration that way, so that your Gradle/GradleFx configuration is applied to FlashBuilder/IntelliJ.
2 Posted by ido.ran on 02 Apr, 2014 07:56 AM
Thank you for the answer.
I understand what you are saying. It still leaves me with the problem of managing two separate configurations instead of having the CI tool use the exact same configuration as the development.
On the other hand GradleFX is still looks better to me than FlexMojos because it is still under development, and you answer here proves it :)
Thank you,
Ido.
Support Staff 3 Posted by Yennick Trevels on 02 Apr, 2014 08:14 AM
Instead of having your CI tool use the same configuration as your Intellij, you can try it the other way, have your Intellij use the same configuration as the CI tool (see my explanation in my previous reply). I'm not sure how well this import process works from FlashBuilder to Intellij, but it might be something to try out.
4 Posted by ido.ran on 02 Apr, 2014 08:30 AM
Hi,
I understand what you mean, it will impact our agility because it means our development configuration will be overwrite by the CI configuration. It looks backwards flow to me :)
Ido
5 Posted by ido.ran on 19 Jun, 2014 08:26 PM
Hi,
Continue with this thread, I found that IntelliJ actually support Gradle projects. Have you ever try to use GradeFX project with IntelliJ?
I'll be happy for pointers if someone work with it.
Ido.
Support Staff 6 Posted by Yennick Trevels on 20 Jun, 2014 06:18 AM
While Intellij might recognise some basic configurations of GradleFx, such as the tasks, it certainly won't work out-of-the-box since GradleFx has some specific convention properties that are crucial to make almost any build work.