Home » Tag Archives: Gradle

Tag Archives: Gradle

Groovy for Java Developers?! Meet Gradle, Grails and Spock

gradle-logo

What are some of the most interesting Groovy use cases for Java developers? Although it’s been around for a while, it seems that only lately Groovy has been getting its Groove on. It is mostly just another esoteric JVM language for some, but it’s more popular than you think thanks to some popular tools that use it to help you ...

Read More »

No downtime deployment using “Yet another” Cloud Foundry Gradle plugin

gradle-logo

I have been trying my hand at writing a gradle plugin for deploying applications to Cloud Foundry and wrote about this plugin in my previous post. I have now enhanced this plugin with support for no-downtime deploys into Cloud Foundry using two approaches – an Autopilot style deployment and a more commonly used Blue-Green style deployment. To jump into the meat of the plugin, once ...

Read More »

Suppress FindBugs Warnings in a Java and Spring Boot Web Application using Gradle

gradle-logo

How to Suppress FindBugs Warnings using Annotations in a +Spring Boot and +Java Application If your build is breaking because of a FindBugs issue and it is a false-positive or you are unable to resolve the issue because of other considerations, you can add an Annotation to ignore the Findbugs warning. Update your Gradle Dependencies You will want to add the following compile time ...

Read More »

Introducing “Yet another” Cloud foundry Gradle plugin

gradle-logo

In the process of working on an automated Jenkins pipeline for deploying a Cloud Foundry application with two of my colleagues(Thanks Mark Alston, Dave Malone !) I decided to try my hand on writing a Gradle plugin to perform some of the tasks that are typically done using a command line Cloud Foundry Client. Introducing the totally unimaginatively named “ya-cf-app-gradle-plugin” with a set of gradle ...

Read More »

Gradle tricks – display buildscript dependencies

gradle-logo

The simply way how buildscript dependencies (e.g. plugins) can be displayed and analyzed in Gradle Introduction This is the third part of my Gradle tricks mini-series related to visualization and analyze of dependencies. In the first post I presented a way how dependencies for all subprojects in multi-project build can be display. In the second I showed a technique of ...

Read More »

ANTLR and the web: a simple example

gradle-logo

ANTLR on the web: why? I started writing my first programs on MS-DOS. So I am very used to have my tools installed on my machine. However in 2016 the web is ubiquitous and so our languages could be needed also there. Possible scenarios: ANTLR also on the web: users could want to access and possibly to minor changes files ...

Read More »

How to manage dependencies in a Gradle multi-project build

gradle-logo

I’ve been a fan of the Gradle build tool from quite early on. Its potential was clear even before the 1.0 version, when changes were regularly breaking. Today, upgrading rarely cause surprises. The tool has become mature and performs well. Gradle includes a powerful dependency management system that can work with Maven and Ivy repositories as well as local file system dependencies. During my work with Gradle I’ve come ...

Read More »

Continuous Stress Testing for your JAX-RS (and JavaEE) applications with Gatling + Gradle + Jenkins Pipeline

jenkins-logo

In this post I am going to explain how to use Gatling project to write stress tests for your JAX-RS Java EE endpoints, and how to integrate them with Gradle and Jenkins Pipeline, so instead of having a simple stress tests, what you have is a continuous stress testing, where each commit might fire these kind of tests automatically, providing automatic assertions and more important graphical ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns