From 84755a372160b1aece46f4d6357a2caddc727224 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 26 Apr 2022 13:17:30 +0530 Subject: [PATCH] build-logic: remove explicit Dokka dependency (#1873) --- build-logic/android-plugins/build.gradle.kts | 1 - ...android-password-store.published-android-library.gradle.kts | 2 +- build.gradle.kts | 1 - gradle/libs.versions.toml | 3 --- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/build-logic/android-plugins/build.gradle.kts b/build-logic/android-plugins/build.gradle.kts index dfe77e89..ac70bec8 100644 --- a/build-logic/android-plugins/build.gradle.kts +++ b/build-logic/android-plugins/build.gradle.kts @@ -32,7 +32,6 @@ gradlePlugin { dependencies { implementation(libs.build.agp) - implementation(libs.build.dokka) implementation(libs.build.mavenpublish) implementation(libs.build.semver) implementation(libs.build.sentry) diff --git a/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts b/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts index 8e079a89..0600e54f 100644 --- a/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts +++ b/build-logic/android-plugins/src/main/kotlin/com.github.android-password-store.published-android-library.gradle.kts @@ -11,10 +11,10 @@ import org.gradle.kotlin.dsl.provideDelegate plugins { id("com.github.android-password-store.android-library") id("com.vanniktech.maven.publish.base") - id("org.jetbrains.dokka") id("signing") } +@Suppress("UnstableApiUsage") configure { group = requireNotNull(project.findProperty("GROUP")) version = requireNotNull(project.findProperty("VERSION_NAME")) diff --git a/build.gradle.kts b/build.gradle.kts index 03300831..59d68591 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,5 +20,4 @@ plugins { id("com.github.android-password-store.git-hooks") id("com.github.android-password-store.spotless") alias(libs.plugins.hilt) apply false - alias(libs.plugins.dokka) apply false } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 8c272bd5..f2bb9b0a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -4,7 +4,6 @@ androidx_activity = "1.4.0" androidx_test = "1.4.1-alpha05" compose = "1.2.0-alpha08" coroutines = "1.6.1" -dokka = "1.6.21" flowbinding = "1.2.0" hilt = "2.41" kotlin = "1.6.21" @@ -12,7 +11,6 @@ leakcanary = "2.9.1" lifecycle = "2.4.1" [plugins] -dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" } hilt = { id = "com.google.dagger.hilt.android", version.ref = "hilt" } [libraries] @@ -43,7 +41,6 @@ aps-zxingAndroidEmbedded = "com.github.android-password-store:zxing-android-embe build-agp = "com.android.tools.build:gradle:7.1.3" build-binarycompat = "org.jetbrains.kotlinx:binary-compatibility-validator:0.9.0" -build-dokka = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" } build-download = "de.undercouch:gradle-download-task:5.0.5" build-kotlin = "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21" build-mavenpublish = "com.vanniktech:gradle-maven-publish-plugin:0.19.0"