Have you ever run a Gradle build that failed and seen this message?
Continue reading "What on earth is a Build Scan, and why do I care?"Gradle Gradle Gradle, with Gradle we’re going to play
I know I owe you a blog post1, and today I actually have the time, energy and inclination to write it. It's not often those three factors coincide.
I have already done the Great Reveal about the job I am doing now that I'm no longer at JetBrains.
The question I wanted to answer (if only to remind myself later in life!) is why?
Continue reading "Gradle Gradle Gradle, with Gradle we’re going to play"Upgrading a Modular Gradle JavaFX Application
You might think, particularly given the order in which I have posted these blog posts, that I tackled the easiest application first when I decided to upgrade my JavaFX applications. But no. Because I like to live life on Hard Mode.
I spent two full days last week once again tackling the on-going tech debt I had with a Modular JavaFX application. And I won! Yay! So here's my experience report.
Continue reading "Upgrading a Modular Gradle JavaFX Application"
Upgrading a Gradle JavaFX Application
I'm helping out a bit with an IntelliJ IDEA Live Stream on JavaFX, and I used that as an excuse to refresh my JavaFX knowledge. One of the things I did was make sure I upgraded all my existing applications to the latest versions of everything and make sure they work as expected.
I have what is now quite an old demo application, originally designed to showcase Java 8 features (watch the live demo and find out more). Since JavaFX was moved into the JDK in Java 8, I decided to use JavaFX as the UI. In fact, it's this demo that was the basis for all my later JavaFX applications, including the Spring Boot one.
I haven't done much with this for a loooong time, but it turns out I have been periodically updating dependencies and trying to make sure it all compiles. I highly recommend taking the time to do this at least once a year! It turns out that because I've been updating dependencies for the last 3-4 years that it wasn't that painful to bring it right up to date. In fact, I did it in less than 30 minutes!
Creating JavaFX Applications
This week we're doing a Live Stream on JavaFX, and I wanted to use that opportunity to refresh my JavaFX knowledge.
I wanted to investigate two areas in particular:
- How do the changes in Java 11 (when JavaFX was moved out of the JDK) impact JavaFX applications?
- How do I get a modern (Java 15) JavaFX application working as expected in IntelliJ IDEA (using either Maven or Gradle as the build tool)?
I now have six different applications that showcase JavaFX! And... they all have slightly different issues... sorry, I mean "subtleties around the best way to run them". Yes.
How to get started with the new MongoDB Java Driver
The second in my short series of blogs about the new Java driver is now available for your perusal. In it, there's some guidance on how to get started using the new driver, whether you want to use the new (unfinished) API, the existing "classic" API, or a blend of both.
Continue reading "How to get started with the new MongoDB Java Driver"