Ivan Ivanchuk Small blog about software.
How to use jcabi-aspects with gradle

This is a short guide on how to make jcabi-aspects work with gradle projects. This approach will work with Java, Kotlin, Scala and Groovy. First of all, add jcabi-aspects dependency into your build.gradle.kts file: dependencies { implementation("com.jcabi:jcabi-aspects:${latestVersion}") } To make jcabi’s annotations work, we have to weave our classes with...

Continue...
2024-01-15

Docker fix for my enviroment

This is just a quick note. I’ve been changing my working environment a lot lately and making this fix for docker. It is needed to avoid the following problem when running tests for Spring application on M* series processors Caused by: java.lang.IllegalStateException: Could not find a valid Docker environment. Please...

Continue...
2023-11-24

On the cutting edge of exception handling

Unfortunately, in work, we’re using Spring Framework. Not too long ago I was able to discover an interesting detail in our approach to exception handling. Usually it looks like some class (most often a service) throws an exception. There is an exception handler in another part of the program that...

Continue...
2023-10-15

Don't be shy – cry!

Please tell me, how often do you see someone’s code that doesn’t make your stomach, back, or eyes hurt? I’m sure this is not uncommon, especially in projects with legacy code. So how can we reduce the number of such situations? In my opinion, several things can be done. Go...

Continue...
2023-08-06

Previous Page: 2 / 5 Next