Showing posts with label Gradle. Show all posts
Showing posts with label Gradle. Show all posts

Tuesday, February 22, 2011

Gradle License Plugin

Over at Xebialabs, we've made the switch from Maven to Gradle. This means that a big part of the build is now much cleaner than it ever was with Maven. However working for a product company also entails dealing with software licenses.

Thursday, September 16, 2010

Customizing Eclipse files with Gradle

Currently I'm employed at XebiaLabs where we're building our Deployit product. In the team, we recently switched from Maven2 to Gradle to build Deployit, so that we could do some funky stuff with integration testing our flash UI. However some of my team-members are now missing certain magic features from m2eclipse...

Tuesday, September 14, 2010

Gradle and IntelliJ (revisited)

In one of my previous posts, I described a way of importing Gradle projects with IntelliJ IDEA. However with the release of Gradle 0.9 rc-1, there is a new way of doing this!

Wednesday, May 12, 2010

The Gradle Wrapper

Who hasn't come across build system version incompatibilities? You build your system with Maven 2.0.X and one of your colleagues with 2.0.Y, and one of your builds break. Gradle provides a way to circumvent this, the Gradle Wrapper.

Thursday, April 22, 2010

Using the Google AppEngine Gradle Plugin

In my previous blog post, I described the Google AppEngine Plugin for Gradle. In this blog I will show you how you can use it to deploy your own applications to Google AppEngine.

Monday, April 19, 2010

AppEngine Gradle Plugin

Last Friday I worked on a pet project together with some colleagues. We're building the project with Gradle and we wanted to deploy it to Google AppEngine. Now Gradle has support for plugins, so I decided I'd build a plugin for Google AppEngine....

Wednesday, March 31, 2010

Gradle and IntelliJ IDEA

Now that I'm playing with Gradle a bit, I needed to have a way to have it play nice with my current IDE of choice, IntelliJ IDEA. At the moment IntelliJ does not support a project built by Gradle, as it does one that is built with Maven2 using a pom.xml file. But alas, using some tricks it is pretty simple.

Wednesday, March 17, 2010

Custom Repository Layout in Gradle

For one of the projects I work on with some colleagues, we have a number of jar files, which are not part of any Maven(-ized) repository. We decided to upload these jar files to the downloads page of github, so that we have a url which we can refer to. Using some customization in our Gradle build file, we managed to download these jars as though they were hosted on a Maven(-ized) repository.

usePlugin 'java'

repositories {
mavenCentral()
add(new org.apache.ivy.plugins.resolver.URLResolver()) {
name = "GitHub"
addArtifactPattern 'http://github.com/asikkema/adoptimizer/downloads/[organization]-[module]-[revision].[ext]'
}
}

dependencies {
compile "gdata:client:1.0@jar"
compile "gdata:analytics:2.1@jar"
compile "gdata:analytics-meta:2.1@jar"
}


There are other options, but this was the most terse we came up with.

Build tools introduction

Ever since the advent of “make” and its many incarnations, developers have been in search for the ultimate build tool. In the past years we have seen an ever increasing amount of build tools being developed for many different use-cases. In the coming blogs, I will take you through some of the niceties of three new build tools: Maven3, Gradle and Buildr.