Skip to content

Commit

Permalink
chore: Remove dokka (#2613)
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerjroach authored Oct 20, 2023
1 parent ff3e6a3 commit e273ba8
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
*/

import com.android.build.gradle.LibraryExtension
import org.jetbrains.dokka.gradle.DokkaTask
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

buildscript {
Expand All @@ -27,7 +26,6 @@ buildscript {
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath(kotlin("gradle-plugin", version = "1.7.10"))
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.7.10")
classpath("com.google.gms:google-services:4.3.15")
classpath("org.jlleitschuh.gradle:ktlint-gradle:11.0.0")
classpath("org.gradle:test-retry-gradle-plugin:1.4.1")
Expand Down Expand Up @@ -57,11 +55,6 @@ allprojects {
}
}

apply(plugin = "org.jetbrains.dokka")
tasks.withType<DokkaTask>().configureEach {
outputDirectory.set(rootProject.buildDir)
}

tasks.register<Delete>("clean").configure {
delete(rootProject.buildDir)
}
Expand Down Expand Up @@ -102,21 +95,6 @@ subprojects {
apply(from = "../kover.gradle")
}

if (!name.contains("test")) {
apply(plugin = "org.jetbrains.dokka")
tasks.withType<DokkaTask>().configureEach {
dokkaSourceSets {
configureEach {
includeNonPublic.set(false)
skipEmptyPackages.set(true)
skipDeprecated.set(true)
reportUndocumented.set(true)
jdkVersion.set(8)
}
}
}
}

apply(plugin = "org.gradle.test-retry")

tasks.withType<Test>().configureEach {
Expand Down

0 comments on commit e273ba8

Please sign in to comment.