IntelliJ and CI with GradleFX

ido.ran's Avatar

ido.ran

01 Apr, 2014 08:56 PM

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

  1. Support Staff 1 Posted by Yennick Trevels on 02 Apr, 2014 06:10 AM

    Yennick Trevels's Avatar

    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. 2 Posted by ido.ran on 02 Apr, 2014 07:56 AM

    ido.ran's Avatar

    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.

  3. Support Staff 3 Posted by Yennick Trevels on 02 Apr, 2014 08:14 AM

    Yennick Trevels's Avatar

    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. 4 Posted by ido.ran on 02 Apr, 2014 08:30 AM

    ido.ran's Avatar

    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. 5 Posted by ido.ran on 19 Jun, 2014 08:26 PM

    ido.ran's Avatar

    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.

  6. Support Staff 6 Posted by Yennick Trevels on 20 Jun, 2014 06:18 AM

    Yennick Trevels's Avatar

    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.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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