❯ Guillaume Laforge

Groovy Weekly #41

Along with some valuable releases like the first release candidate of Gradle 2.2, there are interesting links on the topic of the Groovy Android story, as well as new glimpse on AST macros and AST pattern matching coming up. Worth a look! In terms of events, the Greach conference in Spain has opened its Call for Paper, and the GR8Conf Europe crew reminds us that all the great content from the last edition is freely available on their YouTube channel. Read more...

Groovy Weekly #40

No big highlight this week, but still plenty to learn from! We have some minor releases, interesting articles on Spock, on how to leverage traits with Geb, some thoughts on reactive programming, new demos and tutorials for GrooScript. And we can wish a happy birthday to the GR8 Ladies! Releases Spring Tool Suite & Groovy Grails Tool Suite 3.6.2 released GrooScript 0.6.1 released GridGain 0.6.2 with better support of themes that use plain CSS and better handling of large files Spring Boot 1. Read more...

Groovy Weekly #39

Back from JavaOne, where the Groovy project received its “Best Tech - Geek Choice Awards” from ZeroTurnaround, and where it win the Script Bowl competion this year again! Releases Griffon 2.0.0 final released! Ratpack 0.9.9 is out moving to Java 8 as a base requirement Alain Stalder releases Grengine, another approach to running and embedding Groovy RxGroovy 1.0.0-RC-1 was released with a new artifact ID Articles Marcin Zajączkowski comes back with Part 2 of what’s coming up in Spock 1. Read more...

Groovy Weekly #38

Here’s a short column this week, a bit in advance, as I’m flying to JavaOne tomorrow to spread the Groovy truth! Releases Cédric Champeau announced the release of Groovy 2.3.7 Spring Boot 1.1.7 released Articles MrHaki’s Gradle Goodness: running Groovy scripts as application The reason the internet was invented or cat pictures for the win, by Ken Kousen, sprinkled with bits of Groovy JSON and Swing code Exporting Grails’ i18n messages into Javascript Andrés Almiray’s Gradle Glam on features that would benefit the Gradle community Jorge Martin on the inception and the Groovy Swiss Knife library for Android and the problems encountered with Android Studio’s Groovy support Presentations Guillaume Laforge presented on Groovy on Android at DroidCon Paris 2014 Tweets Robert Fletcher noticed IntelliJ IDEA’s clever capability of properly renaming closures it parameter Java’s Duke is looking pretty Groovy at JavaOne! Read more...

Groovy Weekly #37

SpringOne2GX 2014 in Dallas is over. And next week starts JavaOne. It’s conference season! Speaking of which… the fine GR8Conf US crew released many more presentations this week! There’s a lot of content to go through! Releases GrooScript 0.6 is out, on the road to 1.0, and Jorge Franco is looking for your feedback Gradle Android plugin 0.13 works with Gradle 2.1 JBake 2.3.2 with Asciidoctor 1.5 News Incremental Java compilation landed in Gradle 2. Read more...

Groovy Weekly #36

The SpringOne2GX 2014 conference is over, but you can see below more tweets and presentations from the second part of the conference, and the videos will be available later on on InfoQ. Apart from the excitement around Grails 3, Spring Boot, Groovy, and more, I’d like to highlight the very interesting feedback from Scott Hickey who comes back on 6 years of production usage of Groovy at Mutual of Omaha, saying “Groovy is a phenomenal language for businnes applications”, and that there’s nothing “better” on the JVM! Read more...

Groovy Weekly #35

Direct live from SpringOne2GX, in Dallas! So you can expect some news and presentations from the show this week and the next, and certainly tons of tweets! Speaking of tweets from SpringOne2GX, you’ll notice the flurry of very positive and excited reactions regarding the upcoming Grails 3 release. In the release section, don’t miss the release of Gradle 2.1. Releases Gradle 2.1 released with community plugins, and incremental java compilation GVM 2. Read more...

Beta 3 for Groovy 2.4

The Groovy development team is happy to announce the release of a third beta for Groovy 2.4. This release contains various bug fixes and minor improvements. I’ll highlight the fact that you can now use multiple labels on your statements (instead of just one). With beta-3 now, many of the unneeded synthetic methods generated by Groovy are not generated anymore, reducing the number of methods nicely yielding smaller bytecode. This is of particular interest for Android developers limited in the overall number of methods used in Android applications. Read more...

Groovy Weekly #34 back from vacations!

After a long summer break, it’s high time we resume Groovy Weekly, and come back to our every-Tuesday agenda! Get ready for lots of content! If there were one particular item of news I’d like to highlight in this edition, that’s the news about the New York Times that is going to use Groovy and its Android support (in the upcoming Groovy 2.4), as well as RxJava, to revamp its Android application to make more “reactive”. Read more...

Disable @Grab with a global AST transformation

On the Groovy mailing-list, we had an interesting question about how to disable annotations like @Grab, to prevent users from downloading third-party dependencies. There are a few possibilities for that, but my favorite was to create a global AST transformation that would generate a compilation error if the @Grab annotation is found on an import. I created a first small prototype within a script, but I used an injected local transformation to get everything working with a simple script. Read more...