Posts Tagged ‘gradle’

Iterative BI + Gradle Tips and Tricks: Building a Custom Plugin

To build a custom plugin in groovy, do this.  I know this seems redundant, but it wasn’t as clear as it should have been. 1. Create a project directory.  Just a plain ol’ directory. Wherever you like. 2. Add the source file subdirectories: src\main\groovy\…  (with the package path you’d like to use.  We have src\main\groovy\com\perficient\gradle) […]

Iterative BI + Gradle Tips and Tricks – Plugins

Quick tip of the day: Use Gradle plugins to package up functionality for easy reuse.  For example, we developed a simple “database” plugin to handle the common tasks associated with building and upgrading a database.  Things like: build – create a new database from scratch. Runs the CREATE DATABASE and sqlcmd’s the full DDL upgrade […]

Overview of objects from Gradle

Iterative BI + Gradle Tips and Tricks: A Primer on Gradle Objects

While the Gradle manual is extensive, since we’re not building an executable or the like from source code, many of the concepts are a little opaque.  Here’s a quick primer on Gradle for BI: Gradle is “project” based, with each project containing a set of inter-dependent tasks which in turn contain actions: The whole thing […]

Iterative BI – Building with Gradle

We’ve chosen Gradle as our build system for our iterative BI environment.  It’s a powerful tool, but there’s a bunch of awesomeness in there. Gradle uses Groovy as its scripting language.  Groovy is just plain great.  You get the power of the Java platform in a scripting language and can do things like this: def […]