When building a modular gradle project with openjdk14 as build environment, is it neccessary to specify a java module structure with java9 modules (module-info.java) as well or can you just use a plain jar? When doing a module-info.java with the line “requires kotlin.stdlib” we get the following error when building:
module-info.java:2: error: module not found: kotlin.stdlib
requires kotlin.stdlib;
^
Solved this. The problem was that we were missing a settings.gradle that inluded the module
include 'domain'
If we did that, we did not have to have a module-info.java