3 Replies Latest reply on Sep 30, 2013 11:58 AM by jfuerth

    Building with gradle, anyone?

    mdhirsch30345

      We have been building our app with ant, but we are moving on to a more modern system--gradle.  It's new for all of us and we are having the usual growing pains.

       

      We've gotten most of our build working and it is time to port our Errai/GWT app build into gradle.

       

      Does anyone have any advice?  Are there any useful gradle plugins that might help?  I'm aware fo the gradle-gwt-plugin.  It appears to be a dead project, but maybe it is useful.  Have you used it?  Does it work?  Are there plugins I don't know about?

       

      Thanks,

       

      Michael

        • 1. Re: Building with gradle, anyone?
          edewit

          Hi Michael,

           

          About a year ago I tried to create a build with gradle and appengine and after a day of trying various options I gave up. At the time I was working for a Company that also did a lot of Groovy and Grails work and there were a lot of experts around. There is still a lot of development going on so maybe nowadays it's easier. In the end GWT compiler is a java process so you theoretically you could use it like that.

           

          All our tooling is maven based, and today, eventhough maven has it's short commings, maven is the defacto standard it's supported by all IDEs.

           

          Cheers,

                 Erik Jan

          • 2. Re: Building with gradle, anyone?
            malpi

            Hi,

             

            I created a short HowTo for building with Gradle.

             

            http://mpickhan.de/2013/09/28/run-erraigwt-with-gradle/

             

            Cheers,

             

            Malte

            • 3. Re: Building with gradle, anyone?
              jfuerth

              Thanks for taking the time to summarize and post your findings, Malte! Clearly there are others who want to build Errai apps with Gradle, and I'm sure your effort will save them time!

               

              Cheers,

              Jonathan