Relative Content

Tag Archive for kotlingradle

Force kotlin compiler version for Gradle subproject

I have a Gradle project which i have just upgraded from verison 7.2 to 8.5.
Gradle has upgraded its Kotlin compiler from version 1.3 to 1.8, this breaks some of the projects i have, i am trying to find some solutions for building using kotlin 1.3 while still keeping Gradle version 8.7.
What i am trying is the following:

Shorten Kotlin’s output filenames

I’m looking for a way to shorten Kotlin’s compiled filenames so instead of ClassName$InnerClassFunctionWhateverButAVeryLongName$1.class I’d like to make it shorter. Is there any way to do so?