- production baseline: Java 8
- build target: Java 8 bytecode
- Java 8+ supported
- current Gradle build uses
--release 8when running on JDK 9+ - Java 8 runtime compatibility is verified through Gradle toolchains
The verification pipeline covers:
./gradlew clean check./gradlew testJava8./gradlew javadoc
- the core
java-refinedartifact has no runtime dependencies beyond the JDK modules it already uses. - the optional
java-refined-kotlinartifact adds a single Kotlin runtime dependency:org.jetbrains.kotlin:kotlin-stdlib. testJava8requires a JDK 8 installation that Gradle toolchains can discover.- The project keeps
Automatic-Module-Namefor JPMS consumers without addingmodule-info.java. NonBlankStringuses Java 8-compatible blank detection.- Parser-backed refined types rely on the behavior of JDK parsers such as
UUID,URI,URL,InetAddress, XML, XPath, and number parsers.