Tag

Your search for Gradle returned 5 results.


GitHub Actions with Gradle to Set Up a Basic CI/CD Build

I don't know about you, but setting up CI and dev-ops tasks freak me out. There are so many different platforms, libraries and configurations to set up just right that I'm usually overwhelmed. But what if there is a more developer-friendly way? Let's look at how to set up a basic continuous development workflow using GitHub Actions with Gradle. No Jenkins, no ...

Read More


Java Package-Info Annotation Generation with Gradle

Elegance and cleanliness in programming are important to me. Having a lot of package-info.java files scattered everywhere is an eyesore. However, that is exactly what I've prescribed in my earlier post about Java default nullability annotation set by a package. To define default package contracts throughout your project, you need to copy the same package-info file in ...

Read More


Set Java Nonnull/Nullable Annotation By Package for Cleaner Code

What is a Java Null Annotation? Java null annotation (or nullability annotation) contracts are a way to mark the code in a way that static checkers know which parameters, variables or return types can be null. You would especially want to do that if you hate defensive null checks everywhere in the code, like this one: (more…)

Read More


Build Wowza Modules Using Wowza Gradle Plugin

Building Wowza applications with the default ant script is a bit outdated, so I wrote a post on building Wowza with Gradle. Now I've gone a step further and built a Wowza Gradle Plugin to help you better control your build life cycle. Loading the Wowza Gradle Plugin 1. Create a file named wowza.plugin in the root of your project, next to your build.gradle, containing ...

Read More


Wowza with Gradle. There is a Better Way Than Building with Ant!

Developing Wowza modules usually includes setting up the Wowza IDE (or a standard Java IDE). It may or may not auto-generate an ant build script that packages the sources as a jar library and deploys them to the local Wowza server. That is all pretty good... but you still have to do manual tasks like running test suites and restarting the service! This Gradle thing ...

Read More