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"…...Kotlin DSL if you add also the classifier: jdk16 Aspose.PSD Product...Kotlin DSL if you add also the classifier : jdk16 . For example: implementation(...