Leaving this here in case anyone runs into a similar issue.
It should work with Kotlin DSL if you add also the classifier: jdk16.
For example:
implementation(
"com.aspose",
"aspose-Psd",
"20.2"…...PSD Product Family janjouketjalsmatriva...implementation( "com.aspose", "aspose-psd", "20.2", null, "jdk16" ) repositories...