diff --git a/build.gradle b/build.gradle index 7e3be13a859..e989301b5b3 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,6 @@ buildscript { dependencies { classpath Dependencies.tools_androidgradle classpath Dependencies.tools_kotlingradle - classpath Dependencies.tools_dokka classpath Dependencies.tools_androidmavenpublish } } @@ -66,7 +65,6 @@ allprojects { subprojects { apply plugin: 'jacoco' - apply plugin: 'org.jetbrains.dokka-android' // Enable Kotlin warnings as errors for all modules tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { @@ -291,43 +289,6 @@ subprojects { } } -evaluationDependsOnChildren() - -tasks.register("docs", org.jetbrains.dokka.gradle.DokkaAndroidTask) { - moduleName = "$rootProject.name" - outputDirectory = "$buildDir/javadoc" - outputFormat = "gfm" - jdkVersion = 7 - - subprojects.findAll { - it.hasProperty("android") && !it.name.startsWith("samples") - }.each { - classpath += files(it.android.getBootClasspath().join(File.pathSeparator)) - it.android.libraryVariants.all { variant -> - classpath += files(variant.javaCompileProvider.get().classpath.files) - } - } - - externalDocumentationLink { - url = new URL("https://mozilla.github.io/geckoview/javadoc/mozilla-central/package-list") - } - - sourceDirs = files(subprojects.findAll { - !it.name.startsWith("samples") - }.collect { p -> - def path = new File(p.projectDir, "/src/main/java") - - def relativePath = rootDir.toPath().relativize(path.toPath()).toString() - linkMapping { - dir = path - url = "https://github.com/mozilla-mobile/android-components/blob/master/$relativePath" - suffix = "#L" - } - - return path - }) -} - tasks.register("clean", Delete) { delete rootProject.buildDir } diff --git a/buildSrc/src/main/java/Dependencies.kt b/buildSrc/src/main/java/Dependencies.kt index 9c8589cc2b3..53651bbd793 100644 --- a/buildSrc/src/main/java/Dependencies.kt +++ b/buildSrc/src/main/java/Dependencies.kt @@ -17,7 +17,6 @@ object Versions { const val mockwebserver = "3.10.0" - const val dokka = "0.9.17" const val android_gradle_plugin = "7.0.0-beta02" const val android_maven_publish_plugin = "3.6.2" const val lint = "27.0.1" @@ -122,7 +121,6 @@ object Dependencies { const val leakcanary = "com.squareup.leakcanary:leakcanary-android:${Versions.leakcanary}" - const val tools_dokka = "org.jetbrains.dokka:dokka-android-gradle-plugin:${Versions.dokka}" const val tools_androidgradle = "com.android.tools.build:gradle:${Versions.android_gradle_plugin}" const val tools_kotlingradle = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}" const val tools_androidmavenpublish = "digital.wup:android-maven-publish:${Versions.android_maven_publish_plugin}"