When building with gradle we may wish to stay on the latest version of each of our dependencies. We look at a few ways we can achieve this.
Search Results for: module declaration
Classpath vs. Modulepath in Java
Explore the distinction between the modulepath and classpath in Java.
Variable Instantiation on Declaration vs. on Constructor in Java
Learn that using either field declaration or constructor initialization is more of a preference.
A Guide to DeltaSpike Data Module
Explore the DeltaSpike Data module to simplify the implementation of the repository pattern.
Java 9 java.lang.Module API
Learn how to use the java.lang.Module API
Java 9 Illegal Reflective Access Warning
Learn about Java 9 illegal reflective access warning
Finding All Classes in a Java Package
Learn how to find all classes in a Java package at runtime.
A Guide to Java Modularity
Learn the essentials of building and using modules in Java 9. Start down the path of modularizing your code today.
Java Weekly, Issue 541
The JVM GC leveling up, the Vary HTTP header and of course, records. A solid week.
Difference Between Lombok @AllArgsConstructor, @RequiredArgsConstructor and @NoArgConstructor
Learn about different constructor generation annotations in Lombok and when to use them.
Capturing Method Arguments When Running Spock Tests
Learn how to capture method arguments using Spock’s Stubs, Mocks, and Spies using Closures.
OpenAPI Generator Custom Templates
Learn how to use OpenAPI Generator Custom Templates to generate customized client and server code from REST API definitions.
Implementing GraphQL Mutation Without Returning Data
Explore techniques for implementing GraphQL mutations without retrieving or returning specific information.
Mutable vs. Immutable Objects in Java
Learn more about the definitions, examples, advantages, and considerations of mutable and immutable objects in Java.
Display Image With Thymeleaf
Learn to serve an image from the resources folder in a Spring Boot application.
Improving Test Coverage and Readability With Spock’s Data Pipes and Tables
Learn how to use Spock’s data feeds in a where block.
Difference Between flush() and close() in Java FileWriter
Learn about FileWriter’s common usage and delve into the differences between its flush() and close() methods.
Parse Java Source Code and Extract Methods
A quick and practical guide to parsing Java source code and extracting methods.
Static Final Variables in Java
In this tutorial, we learn how to declare and initialize constant variables.
All the Ways Java Uses the Colon Character
Learn how Java uses the colon character in a variety of different ways.