
If we want to create a checksum for a file in Gradle we can use the ANT checksum task. We assign the file name to the file property of the task. Then the...
0 replies - 2108 views - 07/13/12 by Hubert Klein Ikkink in Articles

I’ve just been messing around with a Gradle build using Gradle
Wrapper, trying to import an ant build which does some clever stuff. I
couldn’t get it...
3 replies - 1383 views - 07/12/12 by James Betteley in Articles

Groovy 2.0 adds the matchesPartially() method to the Matcher
class. This method returns true if a String value matches the pattern
or if it matches the...
0 replies - 1169 views - 07/08/12 by Hubert Klein Ikkink in Articles

We saw earlier that Groovy supports Multimethods or multiple dispatch.
Groovy will resolve the correct overloaded method to invoke based on
the runtime...
0 replies - 1188 views - 07/03/12 by Hubert Klein Ikkink in Articles

To create an archive with Gradle is easy. We have several
tasks like Zip, Tar, Jar, War and Ear to create a new archive. But there
is no UnZip or...
0 replies - 2270 views - 07/01/12 by Hubert Klein Ikkink in Articles

Gradle supports the definition of so called live collections. These collections are mostly created based on criteria like with a filter() or matching()...
0 replies - 1738 views - 06/27/12 by Hubert Klein Ikkink in Articles

During Gr8Conf 2012 Europe I
discovered Grails supports script name abbreviation. This means we don't
have to type a complete script name, but only enough...
0 replies - 1719 views - 06/23/12 by Hubert Klein Ikkink in Articles

In Gradle we can group related tasks using the group property of a task. We provide the name of our group and if we look at the output of the tasks task we can...
0 replies - 1569 views - 06/20/12 by Hubert Klein Ikkink in Articles

A while ago I wrote a blog post Groovy Goodness: Getting the Sum of Items in a Collection. Today I presented about this little topic as part of the...
0 replies - 1722 views - 06/18/12 by Hubert Klein Ikkink in Articles

Upgrading to the latest verison of Gradle (or “Upgradling” as my colleague just called it) is fairly
easy. But if you think there’s some simple gradle...
1 replies - 4312 views - 06/03/12 by James Betteley in Articles

Grails is by far the best option for building web applications in the JVM, enabling you to use features that can be found in popular Java libraries and...
1 replies - 2111 views - 05/24/12 by James Sugrue in Articles

Bringing a programmer in for an interview and a coding test can lead
to some interesting experiences, both for the interviewer and the
interviewee. Most...
8 replies - 22787 views - 05/02/12 by Brian Kelly in Articles

Read this Computerworld posting: Should the CIO know how to code?
The answer is "Yes."
The examples of "well-functioning non-technical...
2 replies - 9215 views - 05/02/12 by Steven Lott in Articles

When running simple Java tests either to learn how something works
in Java or to build examples for my blog posts, I often store the
examples in the same...
1 replies - 2138 views - 04/22/12 by Dustin Marx in Articles

If you use the Grape’s @Grab
annotation to get dependencies for your Groovy scripts at runtime and
their retrieval fails with the exception “General...
0 replies - 1960 views - 04/22/12 by Jakub Holý in Articles