diff options
Diffstat (limited to 'runners/gradle-plugin')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/utils.kt | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/utils.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/utils.kt index ba311cfe..fc07962d 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/utils.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/utils.kt @@ -45,17 +45,6 @@ internal fun Project.isAndroidProject() = try { false } -internal fun Project.isMultiplatformProject() = try { - project.extensions.getByType(KotlinMultiplatformExtension::class.java) - true -} catch (e: UnknownDomainObjectException) { - false -} catch (e: NoClassDefFoundError) { - false -} catch (e: ClassNotFoundException) { - false -} - internal fun KotlinTarget.isAndroidTarget() = this.platformType == KotlinPlatformType.androidJvm internal fun <T : Any> NamedDomainObjectContainer<T>.maybeCreate(name: String, configuration: T.() -> Unit): T { |