plugins { `kotlin-dsl` } kotlin { jvmToolchain { languageVersion.set(JavaLanguageVersion.of(8)) } } dependencies { implementation(libs.gradlePlugin.dokka) implementation(libs.gradlePlugin.kotlin) implementation(libs.gradlePlugin.shadow) // workaround for accessing version-catalog in convention plugins // https://github.com/gradle/gradle/issues/15383#issuecomment-779893192 implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location)) }