Gradle 7 jpms and unnamed modules

Since gradle 7 there is java module support. (jpms)
I can build a test jpms app without dependencies.
But with dependencies (unnamed modules) i get error: package com.opencsv.bean is not visible
(package com.opencsv.bean is declared in the unnamed module, but module com.test.myapp dows not read it)
since i cant declare an unnamed module in, should I declare it somewhere else?
what ist the gradle 7 way for unnamed and automatic module dependencies?