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

Recent Discussions

07 May, 2023 04:17 PM
28 Apr, 2023 11:22 PM
23 Apr, 2023 09:43 AM
03 Nov, 2022 01:22 AM
29 Jun, 2022 05:39 PM

 

04 Aug, 2021 12:50 PM
15 Apr, 2021 06:10 PM
15 Jan, 2021 06:56 PM
09 Mar, 2020 11:11 PM
09 Mar, 2020 11:09 PM
17 Apr, 2019 02:51 PM