You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dokka-runners/runner-gradle-plugin-classic/src/main/kotlin/org/jetbrains/dokka/gradle/tasks/AbstractDokkaTask.kt
@DisableCachingByDefault(because ="Abstract super-class, not to be instantiated directly")
33
33
abstractclassAbstractDokkaTask : DefaultTask() {
@@ -238,8 +238,7 @@ abstract class AbstractDokkaTask : DefaultTask() {
238
238
init {
239
239
group =JavaBasePlugin.DOCUMENTATION_GROUP
240
240
// notCompatibleWithConfigurationCache was introduced in Gradle 7.4
241
-
val containsNotCompatibleWithConfigurationCache =this::class.memberFunctions.any { it.name =="notCompatibleWithConfigurationCache"&& it.parameters.firstOrNull()?.name =="reason" }
242
-
if (containsNotCompatibleWithConfigurationCache) {
241
+
if (GradleVersion.current() >=GradleVersion.version("7.4")) {
243
242
super.notCompatibleWithConfigurationCache("Dokka tasks are not yet compatible with the Gradle configuration cache. See https://github.com/Kotlin/dokka/issues/1217")
0 commit comments