OPI Blog
Learn from experts in their fields

Browsing Tags: gradle

Dec 12, 2018
Open Source InfoSec Using Gradle
Information security needs to be a part of any application. Solutions range in price from no cost to very expensive. However, quality is usually proportional to cost (but not always). We are going to ...
Testing with Spring Kafka and MockSchemaRegistryClient
Spring Kafka provides a variety of testing utilities to make writing integration tests easier. Most notably, the @EmbeddedKafka annotation spins up an embedded broker (and zookeeper) available for tests. The address of the broker is set to ...
Aug 2, 2018
Converting Maven Dependencies to Gradle
I had the, er, honor of converting an old ANT build to Gradle. It was one of those with the directories filled with jars and was having a hard time figuring out what dependency was ...
Jul 17, 2018
Using Git within Gradle
I had a task to have a Gradle build look at the Git branch name and set a different variable based on what branch was. I could have made a system call to git but ...
Building a Kafka Connector with Gradle
Kafka is an exciting space and what I have been finding most exciting is the data streaming aspect of it. Kafka Connectors are the bookends to a powerful streaming engine that quickly transform and analyze ...
Dec 7, 2017
Passing Command Line Arguments to a Spring Boot Application via a bootRun Task in Gradle
There currently seems to be no easy way to pass arguments to a Spring Boot application launched using the bootRun task in Gradle. There are plenty of stack overflow questions asking about this and at ...
Nov 8, 2017
Handy Gradle Recipes
I’ve been trying to simplify my tools lately – less reliance on Intelij IDEA and using the command line more and more. At times, I feel like my workflow has sped up because of a ...
Oct 25, 2017
Functional Testing With Embedded Kafka
Spring publishes a spring-kafka-test library that is promoted as a way to do some unit testing with Kafka. The project I’m currently working on reads messages from a JMS queue, does some transforming of that ...
Jun 27, 2017
Exciting things in Spring Boot 2
I looked at the release notes for Spring Boot 2.0.0.M1 not expecting a lot of exciting changes but was surprised by some compelling things. There is the usual “deprecated classes are removed” and “Dependency X ...
May 9, 2017
AWS ECR with Gradle
AWS Elastic Container Registry is a registry service for Docker images. It supports the Docker API for registries and therefore can be used with `docker pull`, `docker push`, etc. It also works with Gradle ...