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",
null,
"jdk16"
)
repositories {
mavenCentral()
maven(url = "https://releases.aspose.com/java/repo/")
}