Skip to content

Commit

Permalink
Merge pull request #1163 from SimonMarquis/patch-3
Browse files Browse the repository at this point in the history
Remove KAPT from Android libraries
  • Loading branch information
Raibaz committed Sep 25, 2023
2 parents 3eb0a47 + 5ffaa48 commit cd6f5ae
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ plugins {
id("com.android.library")

kotlin("android")
kotlin("kapt")

id("org.jetbrains.dokka")
id("org.jetbrains.kotlinx.kover")
Expand Down Expand Up @@ -67,12 +66,6 @@ dependencies {
androidTestUtil("androidx.test:orchestrator:${Deps.Versions.androidxOrchestrator}")
}

// Fix: Task 'dokkaJavadoc' uses this output of task 'kaptReleaseKotlin' without declaring an explicit or implicit dependency.
tasks.dokkaJavadoc.configure {
mustRunAfter(tasks.named("kaptDebugKotlin"))
mustRunAfter(tasks.named("kaptReleaseKotlin"))
}

val javadocJar by tasks.registering(Jar::class) {
from(tasks.dokkaJavadoc)
archiveClassifier.set("javadoc")
Expand Down

0 comments on commit cd6f5ae

Please sign in to comment.