davidliu

Fix dokkahtml

@@ -4,7 +4,7 @@ ext { @@ -4,7 +4,7 @@ ext {
4 compose_compiler_version = '1.4.5' 4 compose_compiler_version = '1.4.5'
5 kotlin_version = '1.8.20' 5 kotlin_version = '1.8.20'
6 java_version = JavaVersion.VERSION_1_8 6 java_version = JavaVersion.VERSION_1_8
7 - dokka_version = '1.5.0' 7 + dokka_version = '1.8.20'
8 androidSdk = [ 8 androidSdk = [
9 compileVersion: 34, 9 compileVersion: 34,
10 targetVersion : 34, 10 targetVersion : 34,
  1 +/*
  2 + * Copyright 2024 LiveKit, Inc.
  3 + *
  4 + * Licensed under the Apache License, Version 2.0 (the "License");
  5 + * you may not use this file except in compliance with the License.
  6 + * You may obtain a copy of the License at
  7 + *
  8 + * http://www.apache.org/licenses/LICENSE-2.0
  9 + *
  10 + * Unless required by applicable law or agreed to in writing, software
  11 + * distributed under the License is distributed on an "AS IS" BASIS,
  12 + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13 + * See the License for the specific language governing permissions and
  14 + * limitations under the License.
  15 + */
  16 +
  17 +/**
  18 + * Original issue
  19 + * https://github.com/Kotlin/dokka/issues/3117
  20 + */
  21 +afterEvaluate {
  22 + tasks.named("dokkaHtml").configure {
  23 + dependsOn(tasks.named("kaptReleaseKotlin"), tasks.named("kaptDebugKotlin"))
  24 + }
  25 + tasks.named("dokkaJavadoc").configure {
  26 + dependsOn(tasks.named("kaptReleaseKotlin"), tasks.named("kaptDebugKotlin"))
  27 + }
  28 +}
1 -# CameraX support for LiveKit SDK 1 +# CameraX support for LiveKit Android SDK
2 2
3 This library provides an CameraX integration for use with the Android LiveKit SDK. This provides access to more camera functionality such as custom zoom and torch control. 3 This library provides an CameraX integration for use with the Android LiveKit SDK. This provides access to more camera functionality such as custom zoom and torch control.
4 4
@@ -91,6 +91,7 @@ tasks.withType(Test).configureEach { @@ -91,6 +91,7 @@ tasks.withType(Test).configureEach {
91 } 91 }
92 92
93 apply from: rootProject.file('gradle/gradle-mvn-push.gradle') 93 apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
  94 +apply from: rootProject.file('gradle/dokka-kotlin-dep-fix.gradle')
94 95
95 afterEvaluate { 96 afterEvaluate {
96 publishing { 97 publishing {
  1 +# Module livekit-android-camerax
  2 +
  3 +CameraX support for LiveKit Android SDK. This library provides an CameraX integration for use with
  4 +the Android LiveKit SDK, providing access to more camera functionality such as custom zoom and torch
  5 +control.
  6 +
  7 +# Package livekit.org.webrtc
  8 +
  9 +The core LiveKit CameraX package.
  10 +
  11 +# Package io.livekit.android.camerax.ui
  12 +
  13 +Easy to use UI utilities for controlling the camera.
@@ -173,6 +173,7 @@ dependencies { @@ -173,6 +173,7 @@ dependencies {
173 } 173 }
174 174
175 apply from: rootProject.file('gradle/gradle-mvn-push.gradle') 175 apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
  176 +apply from: rootProject.file('gradle/dokka-kotlin-dep-fix.gradle')
176 177
177 afterEvaluate { 178 afterEvaluate {
178 publishing { 179 publishing {
@@ -106,6 +106,7 @@ tasks.withType(Test).configureEach { @@ -106,6 +106,7 @@ tasks.withType(Test).configureEach {
106 } 106 }
107 107
108 apply from: rootProject.file('gradle/gradle-mvn-push.gradle') 108 apply from: rootProject.file('gradle/gradle-mvn-push.gradle')
  109 +apply from: rootProject.file('gradle/dokka-kotlin-dep-fix.gradle')
109 110
110 afterEvaluate { 111 afterEvaluate {
111 publishing { 112 publishing {