JSR 305 became a de-facto standard despite its many problems. I advise to use it for nullability until something better is adopted by Kotlin and major IDEs. Introduction When it comes to nullability annotations in Java, there is no official standard. In this post, I describe: what my requirements with […]
Open-Source
3 posts
This post features five (mostly well-known) refactoring principles applied when refactoring real open-source code (Gradle Modules Plugin). Context When I worked on separate compilation of module-info.java for Gradle Modules Plugin (PR #73), I noticed potential for some refactoring. As a result, I filed issue #79 and later resolved it with […]
Find out how to use Gradle to build Java 6-8 libraries that support JPMS (Java Platform Module System) by providing Java 9 module-info.class. EDIT (May 4, 2019): TL;DR → Use Gradle Modules Plugin for that. Introduction If you need introduction to JPMS itself, check out this nice overview. This post […]