May 20, 2010

Gradle and IntelliJ IDEA

Posted in Dev at 8:14 by djn

At work, I’ve been migrating a legacy build system to gradle. We use IntelliJ IDEA as IDE and the integration between the two is quite barebones.

Inspired by Felipe Cypriano, I extended his task to sync dependencies from Gradle to IDEA in a multiproject build.

It creates a library file for each subproject and each configuration (if it contains any dependencies). Project dependencies are ignored.

Read more for source 🙂

Read the rest of this entry »


April 6, 2009

Playing around with Date and Calendar in Java

Posted in Dev at 10:49 by djn

Dates and Calendars in Java can be a risky business. Read more here.

A rule-of-thumb when comparing dates and calendars (or performing other operations) is to convert it to UTC and then back afterwards.

November 17, 2008


Posted in Dev at 11:30 by djn

Long time no posts, so here is a heads up on a very usefull plugin for IntelliJ IDEA 8.0 (also available for earlier versions). It decompiles java code from on the fly and has an option for not storing it on disk. Very useful when working with jar files and not having the correct source attached.

intellijad-8 – Google Code