Gradle 5.0 now supports Java 11 . Developers can run Gradle builds with JDK 11. This release also introduces dependency version alignment, which allows different modules belonging to the same logical group (a platform ) to have identical versions in a dependency graph.