OPI Blog
Learn from experts in their fields

Browsing Tags: gradle

Apr 29, 2015
Using Gradle and Bower to Manage JS/CSS Dependencies
Gradle (and other build systems) have done a good job of managing classpath dependencies. They are effective at pulling new versions of packages to get bug fixes, et al and including dependencies in packaging. JavaScript, ...
Apr 23, 2015
Deploying Grails 3 Applications (and other fat jars) to Heroku
(https://heroku.com) users that have run into the 15 minute build timeout should not have to change their source or technology choice to continue using Heroku. This post outlines a method using (http://gradle.org) to work-around ...
Using Android Product Flavors to build Full and Demo Version of the app.
ProductFlavor is a very powerful feature available in the Android gradle plugin that allows us to manage different “flavors” of an application. This is useful when you want the same application but with different features ...
Dec 11, 2014
Copying multiple directories in a single Gradle task with up-to-date checking
Suppose you wanted to copy several directories of Twitter Bootstrap styling and JavaScript, each one into a different destination directory. And you wanted to use Gradle’s up-to-date checking with defined inputs and outputs to only ...
Gradle Summit 2014 Recap
2014 saw the 2nd annual Gradle Summit hosted by No Fluff Just Stuff and the Gradleware team in Santa Clara, CA. This was my first year attending and I will definitely be back. Jay Zimmerman ...
Apr 24, 2014
Reuse your Gradle logic across the enterprise
Gradle is a powerful and flexible build tool, not least because you can write custom tasks with ease by inlining your tasks as part of the build script. However, as with production code, build code ...
Parallel Grails Functional Tests with Geb and Gradle
Browser-based functional tests are a great way to verify a Grails application works fully end-to-end. But since they use a browser, they are slower to run than unit or integration tests. And depending on how ...
Building Avatar Applications with Gradle
Project Avatar was open sourced at this year’s JavaOne Conference, but the framework has been under development for a while, and was first announced at JavaOne in 2011. The primary purpose of Avatar is to ...
Jul 16, 2013
Creating self-contained, executable Jars with Gradle and Shadow
Earlier this year, we started implementing a new backend REST architecture for our application based on Yammer/Coda Hale’s Dropwizard Framework. Since we don’t use Maven anywhere in our stack, we decided to use Gradle as ...
Gradle Quick Start
Gradle is a relatively new build system that is picking up steam. In this post we’ll demonstrate it’s convention over configuration strengths and walk through a simple example. Gradle follows the convention over configuration model. ...