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"…...also the classifier: jdk16 Aspose.PSD Product Family janjouketjalsmatriva...implementation( "com.aspose", "aspose-psd", "20.2", null, "jdk16"...