From e8423ecf9f430758398eabc0d35077fff17f1f6c Mon Sep 17 00:00:00 2001 From: Andrey Tyrin Date: Tue, 14 Feb 2023 10:59:17 +0100 Subject: Deprecate methods for adding/removing task dependencies (#2857) --- .../kotlin/org/jetbrains/dokka/gradle/AbstractDokkaParentTaskTest.kt | 3 ++- .../kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka') diff --git a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaParentTaskTest.kt b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaParentTaskTest.kt index f0e05637..173c0b53 100644 --- a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaParentTaskTest.kt +++ b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaParentTaskTest.kt @@ -1,7 +1,8 @@ +@file:Suppress("DEPRECATION") + package org.jetbrains.dokka.gradle import org.gradle.api.Project -import org.gradle.api.UnknownTaskException import org.gradle.kotlin.dsl.create import org.gradle.kotlin.dsl.getByName import org.gradle.testfixtures.ProjectBuilder diff --git a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt index e308742e..4bace6d0 100644 --- a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt +++ b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt @@ -1,8 +1,9 @@ -@file:Suppress("UnstableApiUsage") +@file:Suppress("UnstableApiUsage", "DEPRECATION") package org.jetbrains.dokka.gradle -import org.gradle.kotlin.dsl.* +import org.gradle.kotlin.dsl.create +import org.gradle.kotlin.dsl.withType import org.gradle.testfixtures.ProjectBuilder import org.jetbrains.dokka.* import java.io.File -- cgit