Anyways, I've got the first bit to build the playn-samples hello app
for Java documented here: http://jameswilliams.be/blog/entry/2011/11/28/Building+PlayN+applications+with+Gradle
Gradle only needs a few tweaks to the directory structure of a PlayN,
and that's only because I didn't feel like telling it where to find
resources and wanted to rely on Maven conventions.
Am working on the GWT/HTML5 bits next. You can check my progress here:
http://code.google.com/r/jameslwilliams-playnsamples-gradle/source/browse/#git%2Fhello
Android probably won't happen for a while, the Gradle Android plugin
(maintained by others) seems a bit wonky atm.
On Nov 28, 3:20 pm, James Williams <james.l.willi...@gmail.com> wrote:
> For those of us who have a love-hate relationship with Ant/Maven, I've
> worked out how to build PlayN apps with Gradle (a build tool popular
> with the Groovy ecosystem). One of the plusses of Gradle is that you
> create tasks in code, not with XML.
>
> Anyways, I've got the first bit to build the playn-samples hello app
> for Java documented here:http://jameswilliams.be/blog/entry/2011/11/28/Building+PlayN+applicat...
>
> Gradle only needs a few tweaks to the directory structure of a PlayN,
> and that's only because I didn't feel like telling it where to find
> resources and wanted to rely on Maven conventions.
>
> Am working on the GWT/HTML5 bits next. You can check my progress here:http://code.google.com/r/jameslwilliams-playnsamples-gradle/source/br...
Sent from my iPad
I had a little more work to do to get it to be totally compatible with
the assumptions the maven build has as well as adding a task to create
a file.
It wasn't my goal in writing the posts to have gradle supplant Maven
or be a part of the official build but I'm happy to patch and maintain
it.
jw
On Dec 5, 2:01 pm, Fred Sauer <fre...@google.com> wrote:
> For context: We currently have both maven and ant build files, although
> when I tried the ant build last week it broke, so clearly it's not as up to
> date as the maven side of the house.
>
> To summarize my thoughts:
>
> - the current "official" build system for PlayN is maven
> - maven is the only one that appears to be working at this time
> - we have at least one other build system (ant) in place, which worked
> very recently, and which can probably be made to work with a little TLC
> - the playn project is still changing (in sometimes significant) ways,
> which mean any/all build scripts will need a regular caretaker/owner
> - I have no objects to another build script existing in the main
> repository, with the caveat that no one -other than those wishing it to
> work- be responsible for keeping it up to date with the "official" build
> system
> - if over time it becomes clear that some other build system is not
> > Le 3 décembre 2011 13:12, shawndgar...@gmail.com <shawndgar...@gmail.com>a écrit :
>
> > I just wanted to say it would be nice if gradle became the standard
> >> instead of ant and maven. A lot of projects are going that way. You get
> >> the best of both worlds without all the XML.
>
> >> Sent from my iPad
>
> >> On Nov 30, 2011, at 2:50 PM, James Williams <james.l.willi...@gmail.com>
> >> wrote:
>
> >> > Posted a follow-up building the HTML5/GWT target:
>
> >>http://jameswilliams.be/blog/entry/2011/11/30/Building+HTML5+PlayN+Ap...
I know that PlayN isn't Android specific, but I imagine that since Ray Cromwell is so influential in GWT, and that he is a big IntelliJ fan, it looks like Android, GWT, soon Google and likely PlayN will all be going Gradle + IntelliJ.
There are no plans to convert PlayN's build system over to Gradle
--
---
You received this message because you are subscribed to the Google Groups "PlayN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to playn+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
That said, you can probably build a PlayN game with Gradle if you like Gradle and want to use it. I use SBT to do a lot of PlayN game development, though I then just use Maven to build and deploy to Android/iOS (which are the two most complex platforms to target).
+1
Could you share a little bit more about how you use SBT with PlayN? I am curious as to the conditions under which SBT works better for you than Maven.