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.
Also find me here:
Baeldung Author
Maciej Główka
I'm a back-end software engineer with expertise in Java and over six years of professional development experience working with worldwide clients. I always incorporate in my development practices proper feature design, including clean code principles and a focus on performance. In my free time, I'm trying to expand my skills with new languages like Python or Javascript.
Here's what I've written (so far):
Baeldung on Java
- All
- Java (2)
- Spring Boot (1)
- Spring (1)
- Persistence (1)
- NoSQL (1)
- Logging (1)
- JPA (1)
- Gradle (1)
Log Properties in a Spring Boot Application
Filed under Logging, Spring Boot
For debugging purposes, it can be useful to list the application properties within a Spring Boot application. We look at a few techniques for outputting and filtering runtime properties.
How to use JNI’s RegisterNatives() method?
Filed under Java
Learn how to use the JNI RegisterNatives() method, why it’s useful, and what the java.lang.Object.registerNatives() method does under the hood.
Chaining Constructors in Java
Filed under Java
Learn how to chain constructors in Java.
How to Check Field Existence in MongoDB?
Filed under NoSQL, Persistence
Learn how to check if a field exists in MongoDB.
How to Return Multiple Entities in JPA Query
Filed under JPA
Learn how to return multiple entities in the JPA query.
Solving Spring’s “not eligible for auto-proxying” Warning
Filed under Spring
When setting up a bean post-processor, we can get a warning from Spring; “not eligible for auto-proxying”. We explore the cause of this issue and how to resolve it.
Baeldung on Ops
- All
- Docker (2)
- Kubernetes (1)
How to Get Java Heap Dump From Kubernetes Pod?
Filed under Kubernetes
When running Java applications in Kubernetes, we may wish to see a heap dump for diagnostic purposes. We look at how to extract a heap dump from a running pod.
How to Pass Environment Variable Value into Dockerfile
Filed under Docker
We can use environment variables when performing a docker build. These can be hard-coded into our Dockerfile, or passed as parameters into the build process. We look at how to use these techniques to build variations of image from the same Dockerfile.
How to Fix the “Name Already in Use by Container” Error in Docker
Filed under Docker
When running a docker container with a name we’ve used before, we’ll encounter an error. We look at a few ways to resolve this issue.