Gradle tips and insights for Java developers

Spend less time fighting your build and more time developing software

How To Setup Custom A/B Testing in AWS

Some companies want you to believe A/B testing is so complicated that you should never consider setting it up yourself. Just pay a fixed monthly fee and leave it to the experts. They couldn’t be more wrong. Setting up basic A/B testing in AWS is possible for anyone who tinkers with cloud services and can write simple scripts. This solution doesn’t have a polished web UI or deliver results by email, but it does answer one important question....

Published 20 Jun 2024 · 13 min read · Tom Gregory

Running Java in AWS Lambda

For the longest time backend Java developers only ran code on web servers. Web servers are the glue between the outside world and your application. They pass incoming network requests to your code to do some work and return a response — like handling REST API calls made by most modern web apps. Web servers are predictable, reliable, but deeply flawed. As traffic increases, you need to manually scale up the number of web servers....

Published 29 Apr 2024 · 10 min read · Tom Gregory

7 Hidden Spring Boot Features You Need To Enable NOW!

Spring Boot has 50+ libraries available to add to your application. With so much functionality, how do you know you’re not missing critical features that could avoid hours of wasted development? My answer was to spend way too long browsing official docs. But after a few years I did uncover some hidden gems my colleagues never knew existed. Here are my favourites to help you save time and eliminate unnecessary code....

Published 17 Apr 2024 · 10 min read · Tom Gregory

Using Gradle Build Scan To Optimise Your Build Process

For any keen developer, every time they run the build process they’re itching to get coding again. But slow builds put the brakes on your ability to deliver more features. When the only feedback you get from the build process is its status and duration, how can you even begin to think about optimising it? Well, if you use Gradle to build Java code you’re in luck. There’s a way to profile your build process to get key insights into what’s going on internally—a bit like debugging or JVM profiling tools....

Published 21 Nov 2023 · 5 min read · Tom Gregory

Run Tests in Parallel To Speed Up Your Gradle Build

When working with slow tests, parallelising them is the first step towards faster builds.

Published 13 Nov 2023 · 3 min read · Tom Gregory

Faster Tests By Disabling Gradle Test Reports

Don’t waste any more time waiting for tests to run locally by implementing this quick build script fix.

Published 8 Nov 2023 · 5 min read · Tom Gregory

5 Quotes by Gradle Founder Hans Dockter That'll Change How You Build Software

Hans Dockter quotes that’ll open your mind to new ways of building software.

Published 19 Oct 2023 · 6 min read · Tom Gregory

Design Your Own Test Automation Pyramid

Everyone wants fast, maintainable tests, so how do you best combine the test pyramid model with the realities of your own project?

Published 13 Oct 2023 · 8 min read · Tom Gregory